1
0
forked from boostorg/mp11

Add cxx_decltype to target_compile_features

This commit is contained in:
Peter Dimov
2018-09-29 00:15:53 +03:00
parent 225cbd1eb0
commit a8ba36f211

View File

@ -10,7 +10,7 @@ add_library(boost_mp11 INTERFACE)
add_library(Boost::mp11 ALIAS boost_mp11)
target_include_directories(boost_mp11 INTERFACE include)
target_compile_features(boost_mp11 INTERFACE cxx_alias_templates cxx_variadic_templates)
target_compile_features(boost_mp11 INTERFACE cxx_alias_templates cxx_variadic_templates cxx_decltype)
if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)