Ticket #55335: patch-0006-CMakeLists-delete-clang-search.diff

File patch-0006-CMakeLists-delete-clang-search.diff, 609 bytes (added by ryandesign (Ryan Carsten Schmidt), 7 years ago)
  • CMakeLists.txt

    old new  
    157157endif()
    158158
    159159
    160 #build engine without freepascal
    161 if(BUILD_ENGINE_C AND NOT BUILD_ENGINE_JS)
    162     find_package(Clang REQUIRED)
    163 
    164     if(${CLANG_VERSION} VERSION_LESS "3.0")
    165         message(FATAL_ERROR "LLVM/Clang compiler required version is 3.0 but version ${CLANG_VERSION} was found!")
    166     endif()
    167 
    168     set(CMAKE_C_COMPILER ${CLANG_EXECUTABLE})
    169     set(CMAKE_CXX_COMPILER ${CLANG_EXECUTABLE})
    170 endif()
    171 
    172 
    173160#server
    174161if(NOT NOSERVER)
    175162    add_subdirectory(gameServer)