mirror of
https://github.com/swaywm/sway.git
synced 2025-11-27 06:59:53 -05:00
added json-c lib and implemented IPC get_version
This commit is contained in:
parent
357af228d6
commit
2289029fab
2 changed files with 17 additions and 0 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue