Correct CMake and Ncurses
This commit is contained in:
parent
9e0e9ad789
commit
6a56c052bb
|
@ -3,7 +3,7 @@ project(worldsterm)
|
||||||
SET(CMAKE_CXX_STANDARD 17)
|
SET(CMAKE_CXX_STANDARD 17)
|
||||||
SET(CMAKE_CXX_STANDARD_REQUIRED True)
|
SET(CMAKE_CXX_STANDARD_REQUIRED True)
|
||||||
SET(CMAKE_CXX_FLAGS "-O3")
|
SET(CMAKE_CXX_FLAGS "-O3")
|
||||||
include_directories(${CMAKE_BINARY_DIR})
|
set(CURSES_NEED_NCURSES TRUE)
|
||||||
find_package(Curses REQUIRED)
|
find_package(Curses REQUIRED)
|
||||||
include_directories(${CURSES_INCLUDE_DIRS})
|
include_directories(${CURSES_INCLUDE_DIRS})
|
||||||
add_subdirectory(src)
|
add_subdirectory(src)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user