[CMake] Use explicit header path when using in-tree libc++ for tests
authorPetr Hosek <phosek@google.com>
Fri, 17 Jun 2022 08:11:32 +0000 (08:11 +0000)
committerPetr Hosek <phosek@google.com>
Sat, 9 Jul 2022 06:14:29 +0000 (06:14 +0000)
commitba007f20bb4acf95262f49ab527ce35c4a1f5a19
treefdb0bf0954c3e2b2066c0c67d9fe3c6e06372039
parenta78f436c3f523ced389f7cf9f47da25efe43e28e
[CMake] Use explicit header path when using in-tree libc++ for tests

This is a follow up to D118200 which applies a similar cleanup to
headers when using in-tree libc++ to avoid accidentally picking up
the system headers.

Differential Revision: https://reviews.llvm.org/D128035
compiler-rt/CMakeLists.txt
compiler-rt/cmake/Modules/CompilerRTCompile.cmake
compiler-rt/lib/asan/tests/CMakeLists.txt
compiler-rt/lib/gwp_asan/tests/CMakeLists.txt
compiler-rt/lib/interception/tests/CMakeLists.txt
compiler-rt/lib/memprof/tests/CMakeLists.txt
compiler-rt/lib/orc/unittests/CMakeLists.txt
compiler-rt/lib/sanitizer_common/tests/CMakeLists.txt
compiler-rt/lib/scudo/standalone/tests/CMakeLists.txt
compiler-rt/lib/tsan/tests/CMakeLists.txt
compiler-rt/lib/xray/tests/CMakeLists.txt