update cmakelists
This commit is contained in:
parent
397feb4bd2
commit
7db877a259
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
cmake_minimum_required(VERSION 3.20)
|
cmake_minimum_required(VERSION 3.20)
|
||||||
project(mwchar)
|
project(mwchar C)
|
||||||
|
|
||||||
set(CURSES_NEED_NCURSES TRUE)
|
set(CURSES_NEED_NCURSES TRUE)
|
||||||
find_package(Curses REQUIRED)
|
find_package(Curses REQUIRED)
|
||||||
|
|
@ -14,4 +14,4 @@ target_include_directories(mwchar
|
||||||
${CURSES_INCLUDE_DIRS}
|
${CURSES_INCLUDE_DIRS}
|
||||||
)
|
)
|
||||||
|
|
||||||
target_link_libraries(mwchar PRIVATE panel menu ${CURSES_LIBRARIES})
|
target_link_libraries(mwchar PRIVATE panel menu ${CURSES_LIBRARIES})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue