polybar-dwm/lib/CMakeLists.txt

38 lines
600 B
CMake
Raw Normal View History

2017-01-26 16:17:02 +00:00
#
# Configure libs
#
# Library: concurrentqueue {{{
add_library(moodycamel INTERFACE)
target_include_directories(moodycamel SYSTEM INTERFACE ${CMAKE_CURRENT_LIST_DIR}/concurrentqueue/include)
2017-01-26 16:17:02 +00:00
# }}}
# Library: xpp {{{
2017-01-26 20:15:21 +00:00
set(XCB_PROTOS xproto)
2017-01-26 16:17:02 +00: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)
# }}}
# Library: i3ipcpp {{{
if(ENABLE_I3)
add_subdirectory(i3ipcpp)
list(APPEND libs ${I3IPCPP_LIBRARIES})
endif()
# }}}
set(libs ${libs} PARENT_SCOPE)