summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-11-20 21:09:20 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-11-20 21:10:25 (GMT)
commit36bb100e2b4e5586cecb0dc4e4488b3e8dd18f69 (patch)
tree319a027587dac874eb8023cef4155c5fc1145584 /Tests
parenta3d0ae17581dd11f969eac3a1c43f9f009b23163 (diff)
downloadCMake-36bb100e2b4e5586cecb0dc4e4488b3e8dd18f69.zip
CMake-36bb100e2b4e5586cecb0dc4e4488b3e8dd18f69.tar.gz
CMake-36bb100e2b4e5586cecb0dc4e4488b3e8dd18f69.tar.bz2
Fix the test for running the CxxDialog unit test.
The existing versions have been used since commit v3.1.0-rc1~635^2~8 (cmTarget: Add CXX_STANDARD and CXX_EXTENSION target properties., 2013-10-13), but further discussions since then increased the initial minimum compiler versions this feature is available for.
Diffstat (limited to 'Tests')
-rw-r--r--Tests/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt
index 25cc846..a9cad14 100644
--- a/Tests/CMakeLists.txt
+++ b/Tests/CMakeLists.txt
@@ -292,11 +292,11 @@ if(BUILD_TESTING)
endif()
ADD_TEST_MACRO(SourcesProperty SourcesProperty)
if(CMAKE_CXX_COMPILER_ID STREQUAL GNU
- AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.6)
+ AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 4.7)
set(runCxxDialectTest 1)
endif()
if(CMAKE_CXX_COMPILER_ID STREQUAL Clang
- AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 2.9)
+ AND NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 3.4)
if(NOT APPLE OR POLICY CMP0025)
set(runCxxDialectTest 1)
endif()