From dc8e8638bc24b9b861184a6173beb9be994453f6 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Tue, 14 Dec 2021 12:36:56 -0800 Subject: [PATCH] Update CMakeLists.txt Fix the unified build by using `LLVM_CMAKE_PATH` rather than `LLVM_CMAKE_DIR`. This matches the previous behaviour, and relies on the standalone build defining `LLVM_CMAKE_PATH` through `LLVM_CMAKE_DIR`. --- lldb/source/Version/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Version/CMakeLists.txt b/lldb/source/Version/CMakeLists.txt index 4d66761739ae2..4121a73f2902c 100644 --- a/lldb/source/Version/CMakeLists.txt +++ b/lldb/source/Version/CMakeLists.txt @@ -4,7 +4,7 @@ endif() # Configure the VCSVersion.inc file. set(vcs_version_inc "${CMAKE_CURRENT_BINARY_DIR}/VCSVersion.inc") -set(generate_vcs_version_script "${LLVM_CMAKE_DIR}/GenerateVersionFromVCS.cmake") +set(generate_vcs_version_script "${LLVM_CMAKE_PATH}/GenerateVersionFromVCS.cmake") find_first_existing_vc_file("${LLDB_SOURCE_DIR}" lldb_vc)