Correct CMake and Ncurses

This commit is contained in:
Wirlaburla 2023-09-22 17:20:40 -05:00
parent 9e0e9ad789
commit 6a56c052bb

View File

@ -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)