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