[Lldb-commits] [lldb] 2d2854c - [lldb] [cmake] Fix typo in unittest directory path
Michał Górny via lldb-commits
lldb-commits at lists.llvm.org
Fri Nov 11 11:40:44 PST 2022
Author: Michał Górny
Date: 2022-11-11T20:40:37+01:00
New Revision: 2d2854c7d5f9c1723e7ecbe7e8b8f9a2a78941a9
URL: https://github.com/llvm/llvm-project/commit/2d2854c7d5f9c1723e7ecbe7e8b8f9a2a78941a9
DIFF: https://github.com/llvm/llvm-project/commit/2d2854c7d5f9c1723e7ecbe7e8b8f9a2a78941a9.diff
LOG: [lldb] [cmake] Fix typo in unittest directory path
Fix a typo in a11cd0d94ed3cabf0998a0289aead05da94c86eb that resulted
in additional "}" in unittest directory path, e.g.:
CMake Error at cmake/modules/LLDBStandalone.cmake:104 (add_subdirectory):
add_subdirectory given source
"/var/tmp/portage/dev-util/lldb-16.0.0_pre20221111/work/lldb/../third-party}/utils/unittest"
which is not an existing directory.
Call Stack (most recent call first):
CMakeLists.txt:29 (include)
Added:
Modified:
lldb/cmake/modules/LLDBStandalone.cmake
Removed:
################################################################################
diff --git a/lldb/cmake/modules/LLDBStandalone.cmake b/lldb/cmake/modules/LLDBStandalone.cmake
index ce16f558012c5..22a284adc222b 100644
--- a/lldb/cmake/modules/LLDBStandalone.cmake
+++ b/lldb/cmake/modules/LLDBStandalone.cmake
@@ -101,7 +101,7 @@ if(LLDB_INCLUDE_TESTS)
# Build the gtest library needed for unittests, if we have LLVM sources
# handy.
if (EXISTS ${LLVM_THIRD_PARTY_DIR}/unittest AND NOT TARGET llvm_gtest)
- add_subdirectory(${LLVM_THIRD_PARTY_DIR}}/utils/unittest third-party/unittest)
+ add_subdirectory(${LLVM_THIRD_PARTY_DIR}/utils/unittest third-party/unittest)
endif()
# LLVMTestingSupport library is needed for Process/gdb-remote.
if (EXISTS ${LLVM_MAIN_SRC_DIR}/lib/Testing/Support
More information about the lldb-commits
mailing list