2017-01-26 11:17:02 -05:00
|
|
|
#
|
|
|
|
# Configure libs
|
|
|
|
#
|
|
|
|
|
|
|
|
# Library: concurrentqueue {{{
|
|
|
|
|
|
|
|
list(APPEND dirs ${CMAKE_CURRENT_LIST_DIR}/concurrentqueue/include)
|
|
|
|
|
|
|
|
# }}}
|
|
|
|
# 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_XRENDER)
|
|
|
|
list(APPEND XCB_PROTOS render)
|
|
|
|
endif()
|
|
|
|
if(WITH_XDAMAGE)
|
|
|
|
list(APPEND XCB_PROTOS damage)
|
|
|
|
endif()
|
|
|
|
if(WITH_XSYNC)
|
|
|
|
list(APPEND XCB_PROTOS sync)
|
|
|
|
endif()
|
|
|
|
if(WITH_XCOMPOSITE)
|
|
|
|
list(APPEND XCB_PROTOS composite)
|
|
|
|
endif()
|
|
|
|
if(WITH_XKB)
|
|
|
|
list(APPEND XCB_PROTOS xkb)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
add_subdirectory(xpp)
|
|
|
|
list(APPEND libs ${XPP_LIBRARIES})
|
|
|
|
list(APPEND dirs ${XPP_INCLUDE_DIRS})
|
|
|
|
|
|
|
|
# }}}
|
|
|
|
# Library: i3ipcpp {{{
|
|
|
|
|
|
|
|
if(ENABLE_I3)
|
|
|
|
add_subdirectory(i3ipcpp)
|
|
|
|
list(APPEND libs ${I3IPCPP_LIBRARIES})
|
|
|
|
list(APPEND dirs ${I3IPCPP_INCLUDE_DIRS})
|
|
|
|
endif()
|
|
|
|
|
|
|
|
# }}}
|
|
|
|
|
|
|
|
set(libs ${libs} PARENT_SCOPE)
|
|
|
|
set(dirs ${dirs} PARENT_SCOPE)
|