summaryrefslogtreecommitdiffstats
path: root/Source/Checks/cm_cxx_features.cmake
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2016-09-23 19:49:12 (GMT)
committerBrad King <brad.king@kitware.com>2016-09-26 13:03:46 (GMT)
commit67480c05e3f6819d867680775ca0cbc6f03f28da (patch)
tree11c0b70f42dcb6d936bb7d47766747af49f7e28b /Source/Checks/cm_cxx_features.cmake
parent6757e6608992354300d635a96fed29800a4856c3 (diff)
downloadCMake-67480c05e3f6819d867680775ca0cbc6f03f28da.zip
CMake-67480c05e3f6819d867680775ca0cbc6f03f28da.tar.gz
CMake-67480c05e3f6819d867680775ca0cbc6f03f28da.tar.bz2
Add a feature check to test availability of auto_ptr
Diffstat (limited to 'Source/Checks/cm_cxx_features.cmake')
-rw-r--r--Source/Checks/cm_cxx_features.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Checks/cm_cxx_features.cmake b/Source/Checks/cm_cxx_features.cmake
index c6a532f..80c9f3b 100644
--- a/Source/Checks/cm_cxx_features.cmake
+++ b/Source/Checks/cm_cxx_features.cmake
@@ -32,6 +32,7 @@ function(cm_check_cxx_feature name)
endfunction()
if(CMAKE_CXX_STANDARD)
+ cm_check_cxx_feature(auto_ptr)
cm_check_cxx_feature(make_unique)
if(CMake_HAVE_CXX_MAKE_UNIQUE)
set(CMake_HAVE_CXX_UNIQUE_PTR 1)