forked from RepoMirrors/bemenu
9 lines
395 B
CMake
9 lines
395 B
CMake
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")
|