From: Zachary Turner Date: Fri, 2 Nov 2018 19:55:15 +0000 (+0000) Subject: Fix a bug in the lit test suite generation. X-Git-Tag: llvmorg-8.0.0-rc1~5096 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=66f7b435ed937e410d41626d0194bb5c0646106f;p=platform%2Fupstream%2Fllvm.git Fix a bug in the lit test suite generation. I'm not sure why this has to be CMAKE_CURRENT_SOURCE_DIR, but it causes all kinds of strange cmake generation errors when it's the binary dir. llvm-svn: 346035 --- diff --git a/lldb/lit/CMakeLists.txt b/lldb/lit/CMakeLists.txt index c91535b..657571d 100644 --- a/lldb/lit/CMakeLists.txt +++ b/lldb/lit/CMakeLists.txt @@ -83,6 +83,6 @@ if (TARGET clang) endif() add_lit_testsuites(LLDB - ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} DEPENDS ${LLDB_TEST_DEPS} )