Fix a bug in the lit test suite generation.
authorZachary Turner <zturner@google.com>
Fri, 2 Nov 2018 19:55:15 +0000 (19:55 +0000)
committerZachary Turner <zturner@google.com>
Fri, 2 Nov 2018 19:55:15 +0000 (19:55 +0000)
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

lldb/lit/CMakeLists.txt

index c91535b..657571d 100644 (file)
@@ -83,6 +83,6 @@ if (TARGET clang)
 endif()
 
 add_lit_testsuites(LLDB
-  ${CMAKE_CURRENT_BINARY_DIR}
+  ${CMAKE_CURRENT_SOURCE_DIR}
   DEPENDS ${LLDB_TEST_DEPS}
   )