aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2015-08-26 18:48:50 -0400
committerDrew DeVault <sir@cmpwn.com>2015-08-26 18:48:50 -0400
commiteb53f173c5cc3739149b3fafc50ab55d5503a649 (patch)
tree49eae9ae84adbe27d639005515111b324a328fad /CMakeLists.txt
parent357af228d693e64b4ac62ef472b3df65fd25348c (diff)
parent6bbfd65735ba17ee55ee90b7021c70d68f27b55a (diff)
Merge pull request #137 from minus7/json
added json-c lib and implemented IPC get_version
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bbf61299..aad7f54d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -22,12 +22,14 @@ find_package(XKBCommon REQUIRED)
find_package(WLC REQUIRED)
find_package(A2X REQUIRED)
find_package(PCRE REQUIRED)
+find_package(JsonC REQUIRED)
FILE(GLOB sources ${PROJECT_SOURCE_DIR}/sway/*.c)
include_directories(
${WLC_INCLUDE_DIRS}
${PCRE_INCLUDE_DIRS}
+ ${JSONC_INCLUDE_DIRS}
include/
)
@@ -39,6 +41,7 @@ target_link_libraries(sway
${WLC_LIBRARIES}
${XKBCOMMON_LIBRARIES}
${PCRE_LIBRARIES}
+ ${JSONC_LIBRARIES}
)
INSTALL(