1 --- llvm-18.1.8.src/tools/clang/CMakeLists.txt.orig
2 +++ llvm-18.1.8.src/tools/clang/CMakeLists.txt
4 cmake_minimum_required(VERSION 3.20.0)
6 if(NOT DEFINED LLVM_COMMON_CMAKE_UTILS)
7 - set(LLVM_COMMON_CMAKE_UTILS ${CMAKE_CURRENT_SOURCE_DIR}/../cmake)
8 + set(LLVM_COMMON_CMAKE_UTILS ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
10 include(${LLVM_COMMON_CMAKE_UTILS}/Modules/CMakePolicy.cmake
12 --- llvm-18.1.8.src/CMakeLists.txt.orig
13 +++ llvm-18.1.8.src/CMakeLists.txt
16 cmake_minimum_required(VERSION 3.20.0)
18 -set(LLVM_COMMON_CMAKE_UTILS ${CMAKE_CURRENT_SOURCE_DIR}/../cmake)
19 +set(LLVM_COMMON_CMAKE_UTILS ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
20 include(${LLVM_COMMON_CMAKE_UTILS}/Modules/CMakePolicy.cmake
23 --- llvm-18.1.8.src/cmake/modules/HandleLLVMOptions.cmake.orig
24 +++ llvm-18.1.8.src/cmake/modules/HandleLLVMOptions.cmake
26 add_flag_if_supported("-no-canonical-prefixes" NO_CANONICAL_PREFIXES)
29 -set(LLVM_THIRD_PARTY_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../third-party CACHE STRING
30 +set(LLVM_THIRD_PARTY_DIR ${CMAKE_CURRENT_SOURCE_DIR}/third-party CACHE STRING
31 "Directory containing third party software used by LLVM (e.g. googletest)")
33 set(LLVM_UNITTEST_LINK_FLAGS "" CACHE STRING