forked from OSchip/llvm-project
[CMake] Avoid clang dependencies in the runtimes build
Dependencies like clang aren't available in the runtimes build, this was accidentally omitted in D57992. llvm-svn: 353914
This commit is contained in:
parent
f989e58598
commit
38c723b004
|
@ -136,7 +136,7 @@ macro(clang_compiler_add_cxx_check)
|
||||||
COMMAND bash -c "${CMD}"
|
COMMAND bash -c "${CMD}"
|
||||||
COMMENT "Checking that just-built clang can find C++ headers..."
|
COMMENT "Checking that just-built clang can find C++ headers..."
|
||||||
VERBATIM)
|
VERBATIM)
|
||||||
if (NOT COMPILER_RT_STANDALONE_BUILD)
|
if (NOT COMPILER_RT_STANDALONE_BUILD AND NOT RUNTIMES_BUILD)
|
||||||
ADD_DEPENDENCIES(CompilerRTUnitTestCheckCxx clang)
|
ADD_DEPENDENCIES(CompilerRTUnitTestCheckCxx clang)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue