Remove dead code, we already require cmake 2.8.8.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201495 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2014-02-16 14:36:26 +00:00
parent 2a8437fa6a
commit 56d34914b2
2 changed files with 1 additions and 10 deletions

View File

@ -37,11 +37,6 @@ set(sources
)
if( CMAKE_CL_64 )
# A workaround for a bug in cmake 2.8.3. See PR 8885.
if( CMAKE_VERSION STREQUAL "2.8.3" )
include(CMakeDetermineCompilerId)
endif()
# end of workaround.
enable_language(ASM_MASM)
ADD_CUSTOM_COMMAND(
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/X86CompilationCallback_Win64.obj

View File

@ -20,11 +20,7 @@ if(${LLVM_BUILD_RUNTIME})
if(NOT MSVC)
add_llvm_external_project(libcxx)
endif()
if(${CMAKE_VERSION} VERSION_GREATER 2.8.7)
add_llvm_external_project(compiler-rt)
else()
message(WARNING "Can't build compiler-rt, CMake 2.8.8 required!")
endif()
add_llvm_external_project(compiler-rt)
endif()
add_llvm_external_project(dragonegg)