diff options
author | minus <minus@mnus.de> | 2015-08-26 23:49:38 +0200 |
---|---|---|
committer | minus <minus@mnus.de> | 2015-08-26 23:49:38 +0200 |
commit | 2289029fabe919c670e19ed24baeac74846bc7b3 (patch) | |
tree | adc18bd99038b2716829feaad5c69b4d93e96296 /CMakeLists.txt | |
parent | 357af228d693e64b4ac62ef472b3df65fd25348c (diff) |
added json-c lib and implemented IPC get_version
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index bbf61299..e30b52e0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,12 +22,15 @@ find_package(XKBCommon REQUIRED) find_package(WLC REQUIRED) find_package(A2X REQUIRED) find_package(PCRE REQUIRED) +find_package(PkgConfig REQUIRED) +pkg_check_modules(JSON REQUIRED json-c) FILE(GLOB sources ${PROJECT_SOURCE_DIR}/sway/*.c) include_directories( ${WLC_INCLUDE_DIRS} ${PCRE_INCLUDE_DIRS} + ${JSON_INCLUDE_DIRS} include/ ) @@ -39,6 +42,7 @@ target_link_libraries(sway ${WLC_LIBRARIES} ${XKBCOMMON_LIBRARIES} ${PCRE_LIBRARIES} + ${JSON_LIBRARIES} ) INSTALL( |