WorldsTerminal/CMakeLists.txt

11 lines
326 B
CMake

cmake_minimum_required(VERSION 3.5)
project(worldsterm)
SET(CMAKE_CXX_STANDARD 17)
SET(CMAKE_CXX_STANDARD_REQUIRED True)
SET(CMAKE_CXX_FLAGS "-O3")
set(CURSES_NEED_NCURSES TRUE)
find_package(Curses REQUIRED)
include_directories(${CURSES_INCLUDE_DIRS})
add_subdirectory(src)
install(TARGETS worldsterm RUNTIME DESTINATION bin)