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 157 157 endif() 158 158 159 159 160 #build engine without freepascal161 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 173 160 #server 174 161 if(NOT NOSERVER) 175 162 add_subdirectory(gameServer)