Skip to content

Commit

Permalink
Disable Zstd shared library building for superbuild
Browse files Browse the repository at this point in the history
  • Loading branch information
Shelnutt2 committed Aug 22, 2022
1 parent e47ab64 commit 9d3ec7b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cmake/Modules/FindZstd_EP.cmake
Expand Up @@ -98,6 +98,11 @@ if (NOT ZSTD_FOUND)
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=${TILEDB_EP_INSTALL_PREFIX}
-DCMAKE_OSX_ARCHITECTURES=${CMAKE_OSX_ARCHITECTURES}
# Disable building ZSTD shared library as this is not used by superbuild
# When using superbuild for zstd + curl the shared library was being selected
# on some envs due to ordering of search paths.
# This caused linker errors for projects using libtiledb because of missing shared zstd library.
-DZSTD_BUILD_SHARED=OFF
${TILEDB_EP_BASE}/src/ep_zstd/build/cmake
UPDATE_COMMAND ""
LOG_DOWNLOAD TRUE
Expand Down

0 comments on commit 9d3ec7b

Please sign in to comment.