Browse Source

cmake: Fix FindGio.cmake to find libgio

Find actual libgio-2.0.so instead of libgobject-2.0.so.
Timo Gurr 3 năm trước cách đây
mục cha
commit
ad034bac0e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      cmake/Modules/FindGio.cmake

+ 1 - 1
cmake/Modules/FindGio.cmake

@@ -21,7 +21,7 @@ find_path(
 
 find_library(
   GIO_LIB
-  NAMES ${_GIO_LIBRARIES} gio-2.0 libgio-2.0 gio-unix-2.0
+  NAMES gio-2.0 libgio-2.0 gio-unix-2.0
   HINTS ${_GIO_LIBRARY_DIRS}
   PATHS /usr/lib /usr/local/lib /opt/local/lib /sw/lib)