Skip to content

Commit 5d4da34

Browse files
committed
Handle windows .dll
1 parent 8acbd1e commit 5d4da34

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ else()
4747
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
4848
set(CMAKE_INSTALL_INCLUDEDIR ${SKBUILD_PLATLIB_DIR}/blosc2/include) # directory for include files
4949
set(CMAKE_INSTALL_LIBDIR ${SKBUILD_PLATLIB_DIR}/blosc2/lib) # directory for libblosc2 and pkgconfig
50-
set(Blosc2_INSTALL_CMAKEDIR ${CMAKE_INSTALL_LIBDIR}/cmake/blosc2) #directory for cmake files
50+
set(Blosc2_INSTALL_CMAKEDIR ${CMAKE_INSTALL_LIBDIR}/cmake/blosc2) # directory for cmake files
51+
set(CMAKE_INSTALL_BINDIR ${SKBUILD_PLATLIB_DIR}/blosc2/lib) # directory for libblosc2.dll on windows
5152
# we will put the binaries of the C-Blosc2 library into the wheels according to PEP
5253
set(BLOSC_INSTALL ON)
5354
include(FetchContent)

0 commit comments

Comments
 (0)