forked from boostorg/optional
Add C++11 requirement to CMake
This commit is contained in:
@ -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")
|
||||
|
||||
|
Reference in New Issue
Block a user