mirror of
https://gitlab.gnome.org/GNOME/libmks.git
synced 2024-12-22 13:45:21 +00:00
build: Fix building as a subproject
This commit is contained in:
parent
d4f52a7fdb
commit
6789bba624
@ -137,7 +137,7 @@ test_link_args = [
|
|||||||
'-Wl,-z,relro',
|
'-Wl,-z,relro',
|
||||||
'-Wl,-z,now',
|
'-Wl,-z,now',
|
||||||
]
|
]
|
||||||
if not get_option('buildtype').startswith('debug')
|
if not get_option('buildtype').startswith('debug') and not meson.is_subproject()
|
||||||
add_global_arguments(['-DG_DISABLE_CAST_CHECKS'], language: 'c')
|
add_global_arguments(['-DG_DISABLE_CAST_CHECKS'], language: 'c')
|
||||||
release_args += [ '-DG_DISABLE_ASSERT' ]
|
release_args += [ '-DG_DISABLE_ASSERT' ]
|
||||||
test_link_args += [
|
test_link_args += [
|
||||||
|
Loading…
Reference in New Issue
Block a user