1
0
mirror of https://github.com/Cloudef/bemenu synced 2024-11-24 01:44:16 +01:00
bemenu/lib/renderers/curses/CMakeLists.txt
2014-10-23 02:10:22 +03:00

11 lines
389 B
CMake

SET(CURSES_NEED_NCURSES TRUE)
FIND_PACKAGE(Curses)
if (CURSES_FOUND)
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 ${CURSES_LIBRARY})
INSTALL(TARGETS bemenu-renderer-curses DESTINATION lib/bemenu)
endif ()