Skip to content

Commit

Permalink
Merge pull request #4379 from vicentebolea/increace-cmake-version-dep…
Browse files Browse the repository at this point in the history
…-blosc

fix(cmake): increase min required cmake when using bloscs2
  • Loading branch information
vicentebolea authored Oct 25, 2024
2 parents 79f6efe + 500243d commit 8078a28
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/DetectOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ elseif(ADIOS2_USE_Blosc2)
find_package(Blosc2 2.10.1)
endif()
if(Blosc2_FOUND)
if (CMAKE_VERSION VERSION_LESS 3.18)
message(FATAL_ERROR "Blosc2 dependency requires CMake>=3.18.")
endif()

set(ADIOS2_HAVE_Blosc2 TRUE)
if(TARGET Blosc2::blosc2_shared)
set(blosc2_shlib_available ON)
Expand Down

0 comments on commit 8078a28

Please sign in to comment.