From 373f9969b878f9c9402441275e7b16bfa0d224d6 Mon Sep 17 00:00:00 2001 From: Lukas Matena Date: Fri, 20 Sep 2024 11:08:12 +0200 Subject: [PATCH] A desperate FindModule fix --- cmake/FindBlosc.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cmake/FindBlosc.cmake b/cmake/FindBlosc.cmake index a9c77ae5e7..79b6ba83bc 100644 --- a/cmake/FindBlosc.cmake +++ b/cmake/FindBlosc.cmake @@ -209,7 +209,11 @@ set(Blosc_LIB_COMPONENTS "") list(APPEND BLOSC_BUILD_TYPES DEBUG RELEASE) foreach(BUILD_TYPE ${BLOSC_BUILD_TYPES}) - set(_BLOSC_LIB_NAME blosc) + if(WIN32) + set(_BLOSC_LIB_NAME libblosc) + else() + set(_BLOSC_LIB_NAME blosc) + endif() set(_BLOSC_CMAKE_IGNORE_PATH ${CMAKE_IGNORE_PATH}) if(VCPKG_TOOLCHAIN)