--- kde-runtime-15.08.0/solid-networkstatus/kded/CMakeLists.txt~ 2015-08-11 17:58:03.000000000 +0800 +++ kde-runtime-15.08.0/solid-networkstatus/kded/CMakeLists.txt 2015-09-28 17:16:32.864187278 +0800 @@ -18,9 +18,10 @@ if(NETWORKMANAGER_FOUND) macro_ensure_version("0.7.0" ${NETWORKMANAGER_VERSION} NM_0_7) if(NM_0_7) + find_package(GLIB2 REQUIRED) MESSAGE(STATUS "Adding in-process NetworkManager service-wart to kded module") set(kded_networkstatus_PART_SRCS ${kded_networkstatus_PART_SRCS} networkmanagerstatus.cpp) - include_directories(${NETWORKMANAGER_INCLUDE_DIRS}) + include_directories(${NETWORKMANAGER_INCLUDE_DIRS} ${GLIB2_INCLUDE_DIR}) add_definitions(-DNM_BACKEND_ENABLED) endif(NM_0_7) endif(NETWORKMANAGER_FOUND)