Answers for "add ncurses to cmake"

0

add ncurses to cmake

cmake_minimum_required(VERSION 2.8) project(main)

find_package(Curses REQUIRED)
include_directories(${CURSES_INCLUDE_DIR})

add_executable(main main.cpp)
target_link_libraries(main ${CURSES_LIBRARIES})
Posted by: Guest on January-14-2021

Code answers related to "add ncurses to cmake"

Browse Popular Code Answers by Language