[test-suite] r255024 - [cmake] Look for lit.site.cfg.in in the correct place
James Molloy via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 8 07:36:53 PST 2015
Author: jamesm
Date: Tue Dec 8 09:36:53 2015
New Revision: 255024
URL: http://llvm.org/viewvc/llvm-project?rev=255024&view=rev
Log:
[cmake] Look for lit.site.cfg.in in the correct place
We should be looking in the PROJECT_SOURCE_DIR, not the top-level source dir.
Modified:
test-suite/trunk/CMakeLists.txt
Modified: test-suite/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/test-suite/trunk/CMakeLists.txt?rev=255024&r1=255023&r2=255024&view=diff
==============================================================================
--- test-suite/trunk/CMakeLists.txt (original)
+++ test-suite/trunk/CMakeLists.txt Tue Dec 8 09:36:53 2015
@@ -80,4 +80,4 @@ add_subdirectory(MultiSource)
add_subdirectory(External)
# Produce lit.site.cfg
-configure_file("${CMAKE_SOURCE_DIR}/lit.site.cfg.in" "${CMAKE_BINARY_DIR}/lit.site.cfg")
+configure_file("${PROJECT_SOURCE_DIR}/lit.site.cfg.in" "${CMAKE_BINARY_DIR}/lit.site.cfg")
More information about the llvm-commits
mailing list