[llvm] a71a01b - [CMake] Stop zstd find_package warnings
Alex Brachet via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 22 12:08:10 PDT 2022
Author: Alex Brachet
Date: 2022-07-22T19:06:54Z
New Revision: a71a01bc10d509bd4e746e7d277c4613ef886875
URL: https://github.com/llvm/llvm-project/commit/a71a01bc10d509bd4e746e7d277c4613ef886875
DIFF: https://github.com/llvm/llvm-project/commit/a71a01bc10d509bd4e746e7d277c4613ef886875.diff
LOG: [CMake] Stop zstd find_package warnings
Added:
Modified:
llvm/cmake/config-ix.cmake
Removed:
################################################################################
diff --git a/llvm/cmake/config-ix.cmake b/llvm/cmake/config-ix.cmake
index d2c3d57a6be55..83512760d8dde 100644
--- a/llvm/cmake/config-ix.cmake
+++ b/llvm/cmake/config-ix.cmake
@@ -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})
More information about the llvm-commits
mailing list