forked from boostorg/mp11
Add cxx_decltype to target_compile_features
This commit is contained in:
@ -10,7 +10,7 @@ add_library(boost_mp11 INTERFACE)
|
|||||||
add_library(Boost::mp11 ALIAS boost_mp11)
|
add_library(Boost::mp11 ALIAS boost_mp11)
|
||||||
|
|
||||||
target_include_directories(boost_mp11 INTERFACE include)
|
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)
|
if(CMAKE_SOURCE_DIR STREQUAL CMAKE_CURRENT_SOURCE_DIR)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user