aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorfiaxh <git@lightrise.org>2022-03-08 18:33:42 -0600
committerfiaxh <git@lightrise.org>2022-03-09 07:56:14 -0600
commit5f04a6eb099e714d76e6531051aa4677cc46ea78 (patch)
treeac528578a89edae040c4cc0122523ebb43e9aea3 /CMakeLists.txt
parentd1c82849642b3f44fb77e672d8cad484211777de (diff)
downloaddino-5f04a6eb099e714d76e6531051aa4677cc46ea78.tar.gz
dino-5f04a6eb099e714d76e6531051aa4677cc46ea78.zip
QR-code: Actually use Uri.join if glib version supports it
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f8963937..c9525870 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -198,7 +198,8 @@ include(${VALA_USE_FILE})
include(MultiFind)
include(GlibCompileResourcesSupport)
-set(CMAKE_VALA_FLAGS "${CMAKE_VALA_FLAGS} --target-glib=${GLib_GLOBAL_VERSION}")
+find_package(GLib ${GLib_GLOBAL_VERSION} REQUIRED)
+set(CMAKE_VALA_FLAGS "${CMAKE_VALA_FLAGS} --target-glib=${GLib_VERSION}")
add_subdirectory(qlite)
add_subdirectory(xmpp-vala)