Add support for system boost

This commit is contained in:
Patrick Nicolas
2024-01-08 09:13:44 +01:00
committed by xytovl
parent 7a250495a5
commit 24d65d8c53
4 changed files with 13 additions and 4 deletions
+5 -2
View File
@@ -1,5 +1,8 @@
FetchContent_MakeAvailable(boostpfr)
if (BOOST_FOUND)
add_library(Boost::pfr ALIAS Boost::headers)
else()
FetchContent_MakeAvailable(boostpfr)
endif()
if (GIT_DESC)
configure_file(version.cpp.in version.cpp)