From a8ba36f211b9abc0f6a735d0ef5f9f1f1aa138e4 Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Sat, 29 Sep 2018 00:15:53 +0300 Subject: [PATCH] Add cxx_decltype to target_compile_features --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0739047..1c7fb14 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)