mirror of
https://github.com/boostorg/scope.git
synced 2026-01-19 04:42:10 +00:00
Added required C++ features to CMakeLists.txt.
This commit is contained in:
@@ -20,6 +20,21 @@ target_link_libraries(boost_scope
|
||||
Boost::type_traits
|
||||
)
|
||||
|
||||
target_compile_features(boost_scope
|
||||
INTERFACE
|
||||
cxx_constexpr
|
||||
cxx_noexcept
|
||||
cxx_rvalue_references
|
||||
cxx_decltype
|
||||
cxx_alias_templates
|
||||
cxx_variadic_templates
|
||||
cxx_variadic_macros
|
||||
cxx_defaulted_functions
|
||||
cxx_deleted_functions
|
||||
cxx_default_function_template_args
|
||||
cxx_delegating_constructors
|
||||
)
|
||||
|
||||
if (BUILD_TESTING AND EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/test/CMakeLists.txt")
|
||||
add_subdirectory(test)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user