Remove dead code, we already require cmake 2.8.8.

llvm-svn: 201495
This commit is contained in:
Rafael Espindola 2014-02-16 14:36:26 +00:00
parent 56b663b6e4
commit 7e78a5a2f5
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)