2017-01-26 11:17:02 -05:00
|
|
|
#
|
|
|
|
# Configure libs
|
|
|
|
#
|
|
|
|
|
|
|
|
# Library: concurrentqueue {{{
|
|
|
|
|
2018-11-21 12:46:33 -05:00
|
|
|
add_library(concurrentqueue INTERFACE)
|
|
|
|
target_include_directories(concurrentqueue INTERFACE
|
|
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/concurrentqueue/include>)
|
|
|
|
list(APPEND libs concurrentqueue)
|
2017-01-26 11:17:02 -05:00
|
|
|
|
|
|
|
# }}}
|
|
|
|
# Library: xpp {{{
|
|
|
|
|
2017-01-26 15:15:21 -05:00
|
|
|
set(XCB_PROTOS xproto)
|
|
|
|
|
2017-01-26 11:17:02 -05:00
|
|
|
if(WITH_XRANDR)
|
|
|
|
list(APPEND XCB_PROTOS randr)
|
|
|
|
endif()
|
|
|
|
if(WITH_XCOMPOSITE)
|
|
|
|
list(APPEND XCB_PROTOS composite)
|
|
|
|
endif()
|
|
|
|
if(WITH_XKB)
|
|
|
|
list(APPEND XCB_PROTOS xkb)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
add_subdirectory(xpp)
|
2018-11-21 12:46:33 -05:00
|
|
|
list(APPEND libs xpp)
|
2017-01-26 11:17:02 -05:00
|
|
|
|
|
|
|
# }}}
|
|
|
|
# Library: i3ipcpp {{{
|
|
|
|
|
|
|
|
if(ENABLE_I3)
|
|
|
|
add_subdirectory(i3ipcpp)
|
|
|
|
list(APPEND libs ${I3IPCPP_LIBRARIES})
|
|
|
|
endif()
|
|
|
|
|
|
|
|
# }}}
|
|
|
|
|
|
|
|
set(libs ${libs} PARENT_SCOPE)
|