aboutsummaryrefslogtreecommitdiff
path: root/cmake/FindGModule.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/FindGModule.cmake')
-rw-r--r--cmake/FindGModule.cmake7
1 files changed, 3 insertions, 4 deletions
diff --git a/cmake/FindGModule.cmake b/cmake/FindGModule.cmake
index 61233145..efdafd4d 100644
--- a/cmake/FindGModule.cmake
+++ b/cmake/FindGModule.cmake
@@ -8,13 +8,12 @@ find_pkg_config_with_fallback(GModule
)
if(GModule_FOUND AND NOT GModule_VERSION)
- find_package(GLib)
+ # TODO
+ find_package(GLib ${GLib_GLOBAL_VERSION})
set(GModule_VERSION ${GLib_VERSION})
endif()
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(GModule
- FOUND_VAR GModule_FOUND
REQUIRED_VARS GModule_LIBRARY
- VERSION_VAR GModule_VERSION
-) \ No newline at end of file
+ VERSION_VAR GModule_VERSION) \ No newline at end of file