mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-19 00:30:25 +08:00
390f987093
* Update to 6.3 * Fix mingw * Add ncurses usage * Update versions
8 lines
311 B
Plaintext
8 lines
311 B
Plaintext
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})
|