Skip to content

CMake 3.24+: ZLIB_USE_STATIC_LIBS#1410

Merged
ax3l merged 1 commit intoopenPMD:devfrom
ax3l:fix-static-zlib-option
Mar 30, 2023
Merged

CMake 3.24+: ZLIB_USE_STATIC_LIBS#1410
ax3l merged 1 commit intoopenPMD:devfrom
ax3l:fix-static-zlib-option

Conversation

@ax3l
Copy link
Member

@ax3l ax3l commented Mar 30, 2023

Recent CMake versions add a control variable to ensure only a static zlib is picked up.

This should not be needed in our own build (setup.py, similar to HDF5_USE_STATIC_LIBRARIES) because we do not depend on ZLIB directly, but transitively through dependencies such as HDF5 and ADIOS1/2->c-blosc

Recent CMake versions add a control variable to ensure only
a static zlib is picked up.
@ax3l ax3l added install backend: HDF5 backend: ADIOS2 dependencies Pull requests that update a dependency file labels Mar 30, 2023
@ax3l ax3l added this to the 0.15.1 milestone Mar 30, 2023
@ax3l ax3l mentioned this pull request Mar 30, 2023
8 tasks
@ax3l ax3l merged commit 022035a into openPMD:dev Mar 30, 2023
@ax3l ax3l deleted the fix-static-zlib-option branch March 30, 2023 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend: ADIOS2 backend: HDF5 dependencies Pull requests that update a dependency file install

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant