Commit e531b688 authored by Bolea Sanchez, Vicente Adolfo's avatar Bolea Sanchez, Vicente Adolfo Committed by Bolea Sanchez, Vicente Adolfo
Browse files

Merge pull request #4379 from vicentebolea/increace-cmake-version-dep-blosc

fix(cmake): increase min required cmake when using bloscs2
parent cb871e73
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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)