Add C++11 requirement to CMake

This commit is contained in:
Alexander Grund
2024-08-16 11:45:19 +02:00
parent c3b5267506
commit ce03067859

View File

@ -22,6 +22,7 @@ target_link_libraries(boost_optional
Boost::throw_exception
Boost::type_traits
)
target_compile_features(boost_optional INTERFACE cxx_std_11)
if(BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")