Skip to content

Commit

Permalink
Add REQUIRED in finding blosc library dependencies.
Browse files Browse the repository at this point in the history
  • Loading branch information
apradhana committed Sep 11, 2024
1 parent 6714661 commit 895199a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/FindBlosc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,8 @@ if(NOT TARGET Blosc::blosc)
find_library(${BLOSC_EXTERNAL_LIB}_LIBRARY_${BUILD_TYPE} ${BLOSC_EXTERNAL_LIB}
${_FIND_BLOSC_ADDITIONAL_OPTIONS}
PATHS ${_BLOSC_LIBRARYDIR_SEARCH_DIRS}
PATH_SUFFIXES ${CMAKE_INSTALL_LIBDIR} lib64 lib)
PATH_SUFFIXES ${CMAKE_INSTALL_LIBDIR} lib64 lib
REQUIRED)

if(NOT ${BLOSC_EXTERNAL_LIB}_LIBRARY_${BUILD_TYPE})
if(BUILD_TYPE STREQUAL DEBUG)
Expand Down

0 comments on commit 895199a

Please sign in to comment.