update cmakelists

This commit is contained in:
winyf 2026-05-29 12:39:07 -04:00
parent 397feb4bd2
commit 7db877a259

View file

@ -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})