[CMake] Stop zstd find_package warnings

This commit is contained in:
Alex Brachet 2022-07-22 19:06:54 +00:00
parent 50f5f37b07
commit a71a01bc10
1 changed files with 1 additions and 1 deletions

View File

@ -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})