mirror of
https://github.com/Cloudef/bemenu
synced 2024-11-24 01:44:16 +01:00
11 lines
389 B
CMake
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 ()
|