cmake_minimum_required(VERSION 3.20)
project(mwchar)

set(CURSES_NEED_NCURSES TRUE)
find_package(Curses REQUIRED)

add_executable(mwchar
    src/main.c
)

target_include_directories(mwchar
    PRIVATE
        ${CMAKE_SOURCE_DIR}/include
        ${CURSES_INCLUDE_DIRS}
)

target_link_libraries(mwchar PRIVATE panel menu ${CURSES_LIBRARIES})