[test-suite] r251443 - [test-suite] [CMake] Remove some unneeded CMake version checking
Chris Bieneman via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 27 12:57:43 PDT 2015
Author: cbieneman
Date: Tue Oct 27 14:57:43 2015
New Revision: 251443
URL: http://llvm.org/viewvc/llvm-project?rev=251443&view=rev
Log:
[test-suite] [CMake] Remove some unneeded CMake version checking
The test-suite's minimum CMake version is 3.2, so this should aways be true, further USES_TERMINAL isn't used anywhere in the CMake files, so we don't actually need to set this up at all.
Modified:
test-suite/trunk/CMakeLists.txt
Modified: test-suite/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/CMakeLists.txt?rev=251443&r1=251442&r2=251443&view=diff
==============================================================================
--- test-suite/trunk/CMakeLists.txt (original)
+++ test-suite/trunk/CMakeLists.txt Tue Oct 27 14:57:43 2015
@@ -9,13 +9,6 @@ endif()
add_definitions(-DNDEBUG)
-# Let's make sure lit output is pretty.
-if(CMAKE_VERSION VERSION_LESS 3.1.20141117)
- set(cmake_3_2_USES_TERMINAL)
-else()
- set(cmake_3_2_USES_TERMINAL USES_TERMINAL)
-endif()
-
project(test-suite C CXX)
# Add path for custom modules
More information about the llvm-commits
mailing list