forked from OSchip/llvm-project
[CMake] Stop zstd find_package warnings
This commit is contained in:
parent
50f5f37b07
commit
a71a01bc10
|
@ -146,7 +146,7 @@ if(LLVM_ENABLE_ZSTD)
|
|||
message(FATAL_ERROR "Failed to configure zstd, but LLVM_ENABLE_ZSTD is FORCE_ON")
|
||||
endif()
|
||||
elseif(NOT LLVM_USE_SANITIZER MATCHES "Memory.*")
|
||||
find_package(zstd)
|
||||
find_package(zstd QUIET)
|
||||
endif()
|
||||
endif()
|
||||
set(LLVM_ENABLE_ZSTD ${zstd_FOUND})
|
||||
|
|
Loading…
Reference in New Issue