We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b2c82ba commit 9e58dc3Copy full SHA for 9e58dc3
llvm/cmake/config-ix.cmake
@@ -209,18 +209,6 @@ if(LLVM_ENABLE_ZSTD)
209
endif()
210
211
212
-# If LLVM_USE_STATIC_ZSTD is specified, make sure we enable zstd only if static
213
-# libraries are found.
214
-if(LLVM_USE_STATIC_ZSTD AND NOT TARGET zstd::libzstd_static)
215
- # Fail if LLVM_ENABLE_ZSTD is FORCE_ON.
216
- if(LLVM_ENABLE_ZSTD STREQUAL FORCE_ON)
217
- message(FATAL_ERROR "Failed to find static zstd libraries, but LLVM_USE_STATIC_ZSTD=ON and LLVM_ENABLE_ZSTD=FORCE_ON.")
218
- endif()
219
-set(LLVM_ENABLE_ZSTD OFF)
220
-else()
221
-set(LLVM_ENABLE_ZSTD ${zstd_FOUND})
222
-endif()
223
-
224
if(LLVM_ENABLE_LIBXML2)
225
if(LLVM_ENABLE_LIBXML2 STREQUAL FORCE_ON)
226
find_package(LibXml2 REQUIRED)
0 commit comments