1
0
Fork 0
mirror of https://github.com/polybar/polybar.git synced 2024-10-13 05:16:40 -04:00
polybar/lib/CMakeLists.txt
patrick96 6ff2b2b37f build: remove xrender extension
Some build recipes (exherbo, sourcemage) for some reason enable this
even though it doesn't do anything any only causes compilation issues.

Ref: #1730
2019-06-03 00:46:12 +02:00

46 lines
792 B
CMake

#
# Configure libs
#
# Library: concurrentqueue {{{
add_library(concurrentqueue INTERFACE)
target_include_directories(concurrentqueue INTERFACE
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}/concurrentqueue/include>)
list(APPEND libs concurrentqueue)
# }}}
# Library: xpp {{{
set(XCB_PROTOS xproto)
if(WITH_XRANDR)
list(APPEND XCB_PROTOS randr)
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)
# }}}
# Library: i3ipcpp {{{
if(ENABLE_I3)
add_subdirectory(i3ipcpp)
list(APPEND libs ${I3IPCPP_LIBRARIES})
endif()
# }}}
set(libs ${libs} PARENT_SCOPE)