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