summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorDaniel Pfeifer <daniel@pfeifer-mail.de>2017-08-16 22:41:18 (GMT)
committerDaniel Pfeifer <daniel@pfeifer-mail.de>2017-08-26 05:46:57 (GMT)
commit4614a3b287456fad12bcb91ad2936214da3237bf (patch)
tree73b988b53642367f65a43795b9cba783f04a0fe0 /CMakeLists.txt
parentebe436eb97bf81704a1d0b074b3da4ac817f37d3 (diff)
downloadCMake-4614a3b287456fad12bcb91ad2936214da3237bf.zip
CMake-4614a3b287456fad12bcb91ad2936214da3237bf.tar.gz
CMake-4614a3b287456fad12bcb91ad2936214da3237bf.tar.bz2
server: backport to C++11
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 67c4cdc..7b0a1d1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -723,10 +723,7 @@ if(NOT CMake_TEST_EXTERNAL_CMAKE)
if(NOT DEFINED CMake_ENABLE_SERVER_MODE)
list(FIND CMAKE_CXX_COMPILE_FEATURES cxx_auto_type CMake_HAVE_CXX_AUTO_TYPE)
list(FIND CMAKE_CXX_COMPILE_FEATURES cxx_range_for CMake_HAVE_CXX_RANGE_FOR)
- if(CMake_HAVE_CXX_AUTO_TYPE
- AND CMake_HAVE_CXX_MAKE_UNIQUE
- AND CMake_HAVE_CXX_RANGE_FOR
- )
+ if(CMake_HAVE_CXX_AUTO_TYPE AND CMake_HAVE_CXX_RANGE_FOR)
set(CMake_ENABLE_SERVER_MODE 1)
else()
set(CMake_ENABLE_SERVER_MODE 0)