tipplektionen/CMakeLists.txt
2023-03-09 15:21:05 +01:00

18 lines
No EOL
540 B
CMake

cmake_minimum_required(VERSION 3.22)
project(tipplektionen VERSION 1.0.0)
set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
add_compile_options(-Wall -Wextra -Wpedantic -Wsuggest-override)
find_package(Boost 1.74 COMPONENTS program_options REQUIRED)
find_package(ICU 70.0 COMPONENTS uc io REQUIRED)
set(SOURCES
main.cpp
)
add_executable(tipplektionen ${SOURCES})
target_include_directories(tipplektionen PRIVATE ${Boost_INCLUDE_DIR})
target_link_libraries(tipplektionen PRIVATE Boost::program_options ICU::uc ICU::io)