Ticket #46831: patch-CMakeLists.txt.diff

File patch-CMakeLists.txt.diff, 892 bytes (added by Schamschula (Marius Schamschula), 10 years ago)
  • CMakeLists.txt

    old new  
    7878  FIND_LLVM_LIBS( ${LLVM_CONFIG_EXECUTABLE} "native bitwriter linker bitreader jit interpreter support ipo" LLVM_LIBS LLVM_NATIVE_OBJECTS )
    7979endif(MSVC)
    8080
    81 if( NOT MSVC AND NOT (LLVM_VERSION STREQUAL "3.1" OR LLVM_VERSION STREQUAL "3.0" OR LLVM_VERSION STREQUAL "3.2svn"  OR LLVM_VERSION STREQUAL "3.2" ) ) # There is no way with MSVC to know the llvm version
    82   message(FATAL_ERROR "LLVM 3.0 or 3.1 or 3.2 is required.")
    83 endif()
     81# if( NOT MSVC AND NOT (LLVM_VERSION STREQUAL "3.1" OR LLVM_VERSION STREQUAL "3.0" OR LLVM_VERSION STREQUAL "3.2svn"  OR LLVM_VERSION STREQUAL "3.2" ) ) # There is no way with MSVC to know the llvm version
     82  message(FATAL_ERROR "LLVM 3.0 or 3.1 or 3.2 is required.")
     83# endif()
    8484
    8585if(MSVC)
    8686  add_definitions(/FIiso646.h)