diff --git a/lib/Target/X86/CMakeLists.txt b/lib/Target/X86/CMakeLists.txt index 77606ba36ee4..206b6514f503 100644 --- a/lib/Target/X86/CMakeLists.txt +++ b/lib/Target/X86/CMakeLists.txt @@ -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 diff --git a/projects/CMakeLists.txt b/projects/CMakeLists.txt index f0890bb86798..67943c2e9a36 100644 --- a/projects/CMakeLists.txt +++ b/projects/CMakeLists.txt @@ -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)