Skip to content

Commit

Permalink
[lldb] [cmake] Fix typo in unittest directory path
Browse files Browse the repository at this point in the history
Fix a typo in a11cd0d 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)
  • Loading branch information
mgorny committed Nov 11, 2022
1 parent 28e0798 commit 2d2854c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lldb/cmake/modules/LLDBStandalone.cmake
Expand Up @@ -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
Expand Down

0 comments on commit 2d2854c

Please sign in to comment.