Merge branch 'boostorg:develop' into drop-boost-move-dependency

This commit is contained in:
typenameTea
2024-10-05 09:00:01 +01:00
committed by GitHub

View File

@ -11,6 +11,10 @@ add_library(boost_optional INTERFACE)
add_library(Boost::optional ALIAS boost_optional)
target_include_directories(boost_optional INTERFACE include)
if(NOT CMAKE_VERSION VERSION_LESS "3.19")
file(GLOB_RECURSE headers include/*.hpp)
target_sources(boost_optional PRIVATE ${headers})
endif()
target_link_libraries(boost_optional
INTERFACE