diff options
Diffstat (limited to 'src/power')
-rw-r--r-- | src/power/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/power/CMakeLists.txt b/src/power/CMakeLists.txt index 606c1f3..f30cb87 100644 --- a/src/power/CMakeLists.txt +++ b/src/power/CMakeLists.txt @@ -18,6 +18,9 @@ add_library(${LIBRARY_NAME} SHARED ${CIM_HEADERS} ) +# Require GLib +pkg_check_modules(GLIB REQUIRED glib-2.0) + include_directories(${CMAKE_CURRENT_BINARY_DIR} ${CMPI_INCLUDE_DIR} ${GLIB_INCLUDE_DIRS}) target_link_libraries(${LIBRARY_NAME} curacommon ${KONKRETCMPI_LIBRARIES} ${GLIB_LIBRARIES}) |