cordle/CMakeLists.txt

14 lines
321 B
CMake
Raw Normal View History

2025-10-06 13:01:05 +00:00
cmake_minimum_required(VERSION 4.0)
project(cordle C)
set(CMAKE_C_STANDARD 90)
# Find the curses library
find_package(Curses REQUIRED)
add_executable(cordle cordle.c)
# Link against the curses library
target_link_libraries(cordle ${CURSES_LIBRARIES})
target_include_directories(cordle PRIVATE ${CURSES_INCLUDE_DIRS})