Skip to content

Commit fff0c58

Browse files
committed
Fixed FindBlosc.cmake on Windows with vcpkg changes to zstd
Signed-off-by: Nick Avramoussis <[email protected]>
1 parent 2d66be6 commit fff0c58

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

cmake/FindBlosc.cmake

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -377,18 +377,8 @@ if(NOT TARGET Blosc::blosc)
377377
INTERFACE_LINK_DIRECTORIES
378378
"\$<\$<CONFIG:Release>:${Blosc_RELEASE_LIBRARY_DIRS}>;\$<\$<CONFIG:Debug>:${Blosc_DEBUG_LIBRARY_DIRS}>")
379379
target_link_libraries(Blosc::blosc INTERFACE
380-
$<$<CONFIG:Release>:lz4;snappy;zlib>
381-
$<$<CONFIG:Debug>:lz4d;snappyd;zlibd>)
382-
383-
if(BLOSC_USE_STATIC_LIBS)
384-
target_link_libraries(Blosc::blosc INTERFACE
385-
$<$<CONFIG:Release>:zstd_static>
386-
$<$<CONFIG:Debug>:zstd_staticd>)
387-
else()
388-
target_link_libraries(Blosc::blosc INTERFACE
389-
$<$<CONFIG:Release>:zstd>
390-
$<$<CONFIG:Debug>:zstdd>)
391-
endif()
380+
$<$<CONFIG:Release>:lz4;snappy;zlib;zstd>
381+
$<$<CONFIG:Debug>:lz4d;snappyd;zlibd;zstd>)
392382
endif()
393383
endif()
394384

0 commit comments

Comments
 (0)