Skip to content

Commit 8ea9328

Browse files
committed
unittests: attempt to repair the unified build
This is a speculative fix for the unified build which was broken by PR #64177 as the `CMAKE_SOURCE_DIR` is going to point to LLVM not Swift.
1 parent 4f59fe8 commit 8ea9328

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

unittests/ClangImporter/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
configure_file(${CMAKE_SOURCE_DIR}/stdlib/public/Cxx/std/libstdcxx.modulemap ${CMAKE_CURRENT_BINARY_DIR}/libstdcxx.modulemap COPYONLY)
1+
configure_file(${SWIFT_SOURCE_DIR}/stdlib/public/Cxx/std/libstdcxx.modulemap
2+
${CMAKE_CURRENT_BINARY_DIR}/libstdcxx.modulemap COPYONLY)
23

34
add_swift_unittest(SwiftClangImporterTests
45
ClangImporterTests.cpp

0 commit comments

Comments
 (0)