diff --git a/CMakeLists.txt b/CMakeLists.txt index c2da2fd..2e183c3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -3,6 +3,9 @@ project(utempl) set(CMAKE_EXPORT_COMPILE_COMMANDS ON) find_package(fmt REQUIRED) set(CMAKE_CXX_STANDART 20) +set(CMAKE_CXX_STANDARD_REQUIRED ON) +set(CXX_EXTENSIONS NO) +FIND_PACKAGE(Boost 1.84.0 REQUIRED) add_library(utempl INTERFACE) -target_link_libraries(utempl INTERFACE fmt::fmt-header-only) +target_link_libraries(utempl INTERFACE fmt::fmt-header-only ${Boost_LIBRARIES}) target_include_directories(utempl INTERFACE include)