2017-01-26 16:17:02 +00:00
|
|
|
#
|
|
|
|
# Configure libs
|
|
|
|
#
|
|
|
|
|
|
|
|
# Library: xpp {{{
|
|
|
|
|
2017-01-26 20:15:21 +00:00
|
|
|
set(XCB_PROTOS xproto)
|
|
|
|
|
2020-12-21 21:15:05 +00:00
|
|
|
list(APPEND XCB_PROTOS randr)
|
|
|
|
list(APPEND XCB_PROTOS composite)
|
2017-01-26 16:17:02 +00:00
|
|
|
if(WITH_XKB)
|
|
|
|
list(APPEND XCB_PROTOS xkb)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
add_subdirectory(xpp)
|
2020-12-22 11:19:46 +00:00
|
|
|
if(NOT TARGET xpp)
|
2019-06-11 17:47:19 +00:00
|
|
|
message(FATAL_ERROR "Target xpp not generated")
|
|
|
|
else()
|
|
|
|
get_target_property(_xpp_includes xpp INCLUDE_DIRECTORIES)
|
|
|
|
set_target_properties(xpp PROPERTIES INCLUDE_DIRECTORIES "")
|
|
|
|
target_include_directories(xpp SYSTEM PUBLIC ${_xpp_includes})
|
|
|
|
endif()
|
2017-01-26 16:17:02 +00:00
|
|
|
|
|
|
|
# }}}
|
|
|
|
# Library: i3ipcpp {{{
|
|
|
|
|
|
|
|
if(ENABLE_I3)
|
|
|
|
add_subdirectory(i3ipcpp)
|
2020-12-22 11:19:46 +00:00
|
|
|
if(NOT TARGET i3ipc++)
|
2019-06-11 17:47:19 +00:00
|
|
|
message(FATAL_ERROR "Target i3ipcpp not generated")
|
|
|
|
else()
|
|
|
|
get_target_property(_i3ipcpp_includes i3ipc++ INCLUDE_DIRECTORIES)
|
|
|
|
set_target_properties(i3ipc++ PROPERTIES INCLUDE_DIRECTORIES "")
|
|
|
|
target_include_directories(i3ipc++ SYSTEM PUBLIC ${_i3ipcpp_includes})
|
|
|
|
endif()
|
2017-01-26 16:17:02 +00:00
|
|
|
endif()
|
|
|
|
|
2020-07-14 00:06:52 +00:00
|
|
|
# }}}
|
|
|
|
# Library: dwmipcpp {{{
|
|
|
|
|
|
|
|
if(ENABLE_DWM)
|
|
|
|
add_subdirectory(dwmipcpp)
|
|
|
|
list(APPEND libs ${DWMIPCPP_LIBRARIES})
|
|
|
|
endif()
|
|
|
|
|
2017-01-26 16:17:02 +00:00
|
|
|
# }}}
|