Skip to content

Commit

Permalink
Blosc2: Non-Quiet Search
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Aug 20, 2023
1 parent b439ef1 commit a778c08
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmake/DetectOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ endfunction()
# Blosc2
if(ADIOS2_USE_Blosc2 STREQUAL AUTO)
# Prefect CONFIG mode
find_package(Blosc2 2.4 CONFIG QUIET)
find_package(Blosc2 2.4 CONFIG)
if(NOT Blosc2_FOUND)
find_package(Blosc2 2.4 MODULE QUIET)
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 All @@ -88,6 +88,7 @@ if(Blosc2_FOUND)
endif()

set(adios2_blosc2_tgt Blosc2::Blosc2)
message(STATUS "++++++++++ Blosc2_VERSION=${Blosc2_VERSION} ++++")
if (Blosc2_VERSION VERSION_GREATER_EQUAL 2.10.1)
if (Blosc2_shlib_available)
set(adios2_blosc2_tgt Blosc2::blosc2_$<IF:$<BOOL:${ADIOS2_Blosc2_PREFER_SHARED}>,shared,static>)
Expand Down

0 comments on commit a778c08

Please sign in to comment.