From ea96085167ebc5536db3917e1de6dc9ed69b75d8 Mon Sep 17 00:00:00 2001 From: sha512sum Date: Tue, 27 Feb 2024 18:54:37 +0000 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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)