Skip to content

Commit

Permalink
Blosc2 USE ON: Fix Module Fallback
Browse files Browse the repository at this point in the history
Avoid that for older C-Blosc2 releases, the search logic errors
out after the config module was not found.
  • Loading branch information
ax3l committed Aug 20, 2023
1 parent 06c8fec commit b5f93d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/DetectOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ if(ADIOS2_USE_Blosc2 STREQUAL AUTO)
endif()
elseif(ADIOS2_USE_Blosc2)
# Prefect CONFIG mode
find_package(Blosc2 2.4 CONFIG REQUIRED)
find_package(Blosc2 2.4 CONFIG)
if(NOT Blosc2_FOUND)
find_package(Blosc2 2.4 MODULE REQUIRED)
endif()
Expand Down

0 comments on commit b5f93d4

Please sign in to comment.