Fixed #5613 (use --target-glib in build).
This commit is contained in:
parent
d5fdb73546
commit
bece122884
1 changed files with 4 additions and 1 deletions
|
|
@ -311,9 +311,11 @@ else ()
|
|||
message(STATUS "Unity launcher support: OFF")
|
||||
endif ()
|
||||
|
||||
set(TARGET_GLIB 2.32)
|
||||
|
||||
pkg_check_modules(DEPS REQUIRED QUIET
|
||||
gthread-2.0
|
||||
glib-2.0>=2.30.0
|
||||
glib-2.0>=${TARGET_GLIB}.0
|
||||
gio-2.0>=2.28.0
|
||||
gtk+-3.0>=3.4.0
|
||||
gee-1.0>=0.6.0
|
||||
|
|
@ -364,6 +366,7 @@ add_definitions(${CFLAGS})
|
|||
|
||||
set(VALAC_OPTIONS
|
||||
--vapidir=${CMAKE_SOURCE_DIR}/vapi
|
||||
--target-glib=${TARGET_GLIB}
|
||||
--thread
|
||||
--enable-checking
|
||||
--debug
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue