on xenial help sign in
Depend on gio.
158e1c6Pawel Stolowski
plugins/Utils/CMakeLists.txt+3−3
@@ -1,13 +1,13 @@
1# Dependencies
1# Dependencies
2include(FindPkgConfig)
2include(FindPkgConfig)
3
3
4−pkg_search_module(GLIB REQUIRED glib-2.0)
4+pkg_search_module(GIO REQUIRED gio-2.0)
5
5
6include_directories(
6include_directories(
7 ${CMAKE_CURRENT_SOURCE_DIR}
7 ${CMAKE_CURRENT_SOURCE_DIR}
8 ${CMAKE_CURRENT_BINARY_DIR}
8 ${CMAKE_CURRENT_BINARY_DIR}
9 ${Qt5Gui_PRIVATE_INCLUDE_DIRS}
9 ${Qt5Gui_PRIVATE_INCLUDE_DIRS}
10− ${GLIB_INCLUDE_DIRS}
10+ ${GIO_INCLUDE_DIRS}
11)
11)
12
12
13set(QMLPLUGIN_SRC
13set(QMLPLUGIN_SRC
@@ -25,7 +25,7 @@ add_library(Utils-qml SHARED
25 ${QMLPLUGIN_SRC}
25 ${QMLPLUGIN_SRC}
26 )
26 )
27
27
28−target_link_libraries(Utils-qml ${GLIB_LDFLAGS})
28+target_link_libraries(Utils-qml ${GIO_LDFLAGS})
29
29
30# Because this is an internal support library, we want
30# Because this is an internal support library, we want
31# to expose all symbols in it. Consider changing this
31# to expose all symbols in it. Consider changing this