summaryrefslogtreecommitdiff
path: root/lib/renderers/curses/CMakeLists.txt
blob: 09fad22acdbbef119b82b4d950abf711ce7368f1 (plain)
1
2
3
4
5
6
7
8
SET(CURSES_NEED_NCURSES TRUE)
FIND_PACKAGE(Curses REQUIRED)

INCLUDE_DIRECTORIES(${CURSES_INCLUDE_DIRS})
ADD_LIBRARY(bemenu-renderer-curses SHARED curses.c)
SET_TARGET_PROPERTIES(bemenu-renderer-curses PROPERTIES PREFIX "")
TARGET_LINK_LIBRARIES(bemenu-renderer-curses ${BEMENU_LIBRARIES} ${CURSES_LIBRARY} m)
INSTALL(TARGETS bemenu-renderer-curses DESTINATION "${CMAKE_INSTALL_LIBDIR}/bemenu")