[libc-commits] [PATCH] D149216: [libc] Add path to include generated headers for hermetic tests
Joseph Huber via Phabricator via libc-commits
libc-commits at lists.llvm.org
Tue Apr 25 16:48:36 PDT 2023
jhuber6 updated this revision to Diff 516984.
jhuber6 added a comment.
Fix
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D149216/new/
https://reviews.llvm.org/D149216
Files:
libc/test/UnitTest/CMakeLists.txt
Index: libc/test/UnitTest/CMakeLists.txt
===================================================================
--- libc/test/UnitTest/CMakeLists.txt
+++ libc/test/UnitTest/CMakeLists.txt
@@ -37,6 +37,7 @@
)
endforeach()
+target_include_directories(LibcHermeticTest PRIVATE ${LIBC_BUILD_DIR}/include)
target_compile_options(LibcHermeticTest PRIVATE -ffreestanding -nostdlib -nostdlib++)
add_library(
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149216.516984.patch
Type: text/x-patch
Size: 407 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230425/1bfa3f74/attachment.bin>
More information about the libc-commits
mailing list