support linking with system libunibreak
This commit is contained in:
parent
4569da4ad1
commit
94f3e588fc
|
@ -388,3 +388,9 @@ option('docs',
|
|||
value: false,
|
||||
description: 'Enable building C of documentation (Requires doxygen)'
|
||||
)
|
||||
|
||||
option('embedded-libunibreak',
|
||||
type : 'boolean',
|
||||
value : true,
|
||||
description : 'Use the embedded in-tree libunibreak instead of the system libunibreak.'
|
||||
)
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
|
||||
if (get_option('embedded-libunibreak'))
|
||||
libunibreak_src = [
|
||||
'unibreakbase.h',
|
||||
'unibreakdef.h',
|
||||
|
@ -30,3 +30,6 @@ libunibreak = declare_dependency(
|
|||
link_with: libunibreak_lib,
|
||||
dependencies: [eina],
|
||||
)
|
||||
else
|
||||
libunibreak = dependency('libunibreak', version : '>=4.2')
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue