Update CMakeLists.txt
This commit is contained in:
parent
6e52a6262d
commit
ea96085167
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue