summaryrefslogtreecommitdiff
path: root/clang/runtime
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2016-06-09 22:38:42 +0000
committerChris Bieneman <beanz@apple.com>2016-06-09 22:38:42 +0000
commitf325b8c71b04d8fd42c59bc0023c1aed17c53f4c (patch)
tree6eb2947082c4531bd318a51a56fd436d28384df9 /clang/runtime
parent04e8a21876bd352e9e8128e097f1e87be688a0a7 (diff)
downloadllvm-f325b8c71b04d8fd42c59bc0023c1aed17c53f4c.tar.gz
[CMake] Cleaning up CMake version checks in ExternalProject calls
Now that we're on CMake 3.4.3 all the ExternalProject features we use are supported everywhere, so we don't need the version checks anymore. llvm-svn: 272324
Diffstat (limited to 'clang/runtime')
-rw-r--r--clang/runtime/CMakeLists.txt11
1 files changed, 3 insertions, 8 deletions
diff --git a/clang/runtime/CMakeLists.txt b/clang/runtime/CMakeLists.txt
index a8242324b6d5..9e58ec19a005 100644
--- a/clang/runtime/CMakeLists.txt
+++ b/clang/runtime/CMakeLists.txt
@@ -34,13 +34,6 @@ if(NOT EXISTS ${COMPILER_RT_SRC_ROOT})
endif()
if(LLVM_BUILD_EXTERNAL_COMPILER_RT AND EXISTS ${COMPILER_RT_SRC_ROOT}/)
- if(CMAKE_VERSION VERSION_GREATER 3.3.20150708)
- set(cmake_3_4_USES_TERMINAL_OPTIONS
- USES_TERMINAL_CONFIGURE 1
- USES_TERMINAL_BUILD 1
- USES_TERMINAL_INSTALL 1
- )
- endif()
# Add compiler-rt as an external project.
set(COMPILER_RT_PREFIX ${CMAKE_BINARY_DIR}/projects/compiler-rt)
@@ -86,7 +79,9 @@ if(LLVM_BUILD_EXTERNAL_COMPILER_RT AND EXISTS ${COMPILER_RT_SRC_ROOT}/)
${COMPILER_RT_PASSTHROUGH_VARIABLES}
INSTALL_COMMAND ""
STEP_TARGETS configure build
- ${cmake_3_4_USES_TERMINAL_OPTIONS}
+ USES_TERMINAL_CONFIGURE 1
+ USES_TERMINAL_BUILD 1
+ USES_TERMINAL_INSTALL 1
)
get_ext_project_build_command(run_clean_compiler_rt clean)