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