diff options
author | Petr Hosek <phosek@chromium.org> | 2019-02-13 06:49:47 +0000 |
---|---|---|
committer | Petr Hosek <phosek@chromium.org> | 2019-02-13 06:49:47 +0000 |
commit | 8fa1c99c05810d948afa232c153ef4e76e34e512 (patch) | |
tree | 8c6c94dc9157b21179e21abd3eb650dc90017527 /cmake/Modules | |
parent | 92f7768ce940f6437b32ecc0985a1446cd040f7a (diff) | |
download | compiler-rt-8fa1c99c05810d948afa232c153ef4e76e34e512.tar.gz |
[CMake] Avoid clang dependencies in the runtimes build
Dependencies like clang aren't available in the runtimes build, this
was accidentally omitted in D57992.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@353914 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/Modules')
-rw-r--r-- | cmake/Modules/CompilerRTCompile.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/Modules/CompilerRTCompile.cmake b/cmake/Modules/CompilerRTCompile.cmake index 556ee7896..07b589beb 100644 --- a/cmake/Modules/CompilerRTCompile.cmake +++ b/cmake/Modules/CompilerRTCompile.cmake @@ -136,7 +136,7 @@ macro(clang_compiler_add_cxx_check) COMMAND bash -c "${CMD}" COMMENT "Checking that just-built clang can find C++ headers..." VERBATIM) - if (NOT COMPILER_RT_STANDALONE_BUILD) + if (NOT COMPILER_RT_STANDALONE_BUILD AND NOT RUNTIMES_BUILD) ADD_DEPENDENCIES(CompilerRTUnitTestCheckCxx clang) endif() endif() |