forked from OSchip/llvm-project
[compiler-rt] Don't print warning about missing testingsupport if not including tests
Reviewers: samsonov, vitalybuka Reviewed By: vitalybuka Subscribers: dberris, mgorny, #sanitizers Tags: #sanitizers Differential Revision: https://reviews.llvm.org/D77375
This commit is contained in:
parent
9997ee23ed
commit
3e9d074dea
|
@ -263,7 +263,7 @@ macro(load_llvm_config)
|
|||
ERROR_QUIET)
|
||||
if (HAD_ERROR)
|
||||
message(WARNING "llvm-config finding testingsupport failed with status ${HAD_ERROR}")
|
||||
else()
|
||||
elseif(COMPILER_RT_INCLUDE_TESTS)
|
||||
string(REGEX REPLACE "[ \t]*[\r\n]+[ \t]*" ";" CONFIG_OUTPUT ${CONFIG_OUTPUT})
|
||||
list(GET CONFIG_OUTPUT 0 LDFLAGS)
|
||||
list(GET CONFIG_OUTPUT 1 LIBLIST)
|
||||
|
|
Loading…
Reference in New Issue