pineapple/externals/vcpkg/ports/ncurses/usage
2022-07-23 03:01:36 +02:00

7 lines
311 B
Text
Executable file

The package ncurses is compatible with built-in CMake variables:
set(CURSES_NEED_NCURSES TRUE)
find_package(Curses REQUIRED)
target_include_directories(main ${CURSES_INCLUDE_DIRS})
target_compile_options(main ${CURSES_CFLAGS})
target_link_libraries(main PRIVATE ${CURSES_LIBRARIES})