summaryrefslogtreecommitdiff
path: root/lldb/cmake
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-11-11 20:38:56 +0100
committerMichał Górny <mgorny@gentoo.org>2022-11-11 20:40:37 +0100
commit2d2854c7d5f9c1723e7ecbe7e8b8f9a2a78941a9 (patch)
treefca839da525a00d38bd873f5cef7f5ee80e2c9da /lldb/cmake
parent28e07984c3427908c9b423c7ed0cf6ac3064c5d8 (diff)
downloadllvm-2d2854c7d5f9c1723e7ecbe7e8b8f9a2a78941a9.tar.gz
[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)
Diffstat (limited to 'lldb/cmake')
-rw-r--r--lldb/cmake/modules/LLDBStandalone.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/cmake/modules/LLDBStandalone.cmake b/lldb/cmake/modules/LLDBStandalone.cmake
index ce16f558012c..22a284adc222 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