mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-18 12:47:59 +08:00
[blosc] Fix the bug when building release-only. (#6928)
This commit is contained in:
parent
ec5e9c282c
commit
ba0b34c2e8
@ -1,5 +1,5 @@
|
|||||||
Source: blosc
|
Source: blosc
|
||||||
Version: 1.16.3
|
Version: 1.16.3-1
|
||||||
Build-Depends: lz4, snappy, zlib, zstd
|
Build-Depends: lz4, snappy, zlib, zstd
|
||||||
Homepage: https://github.com/Blosc/c-blosc
|
Homepage: https://github.com/Blosc/c-blosc
|
||||||
Description: A blocking, shuffling and loss-less compression library that can be faster than `memcpy()`
|
Description: A blocking, shuffling and loss-less compression library that can be faster than `memcpy()`
|
||||||
|
@ -32,14 +32,16 @@ vcpkg_configure_cmake(
|
|||||||
|
|
||||||
vcpkg_install_cmake()
|
vcpkg_install_cmake()
|
||||||
|
|
||||||
vcpkg_copy_pdbs()
|
|
||||||
|
|
||||||
if (BLOSC_SHARED)
|
if (BLOSC_SHARED)
|
||||||
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/bin)
|
vcpkg_copy_pdbs()
|
||||||
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/debug/bin)
|
if(EXISTS "${CURRENT_PACKAGES_DIR}/lib/blosc.dll")
|
||||||
|
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/bin)
|
||||||
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/blosc.dll ${CURRENT_PACKAGES_DIR}/debug/bin/blosc.dll)
|
file(RENAME ${CURRENT_PACKAGES_DIR}/lib/blosc.dll ${CURRENT_PACKAGES_DIR}/bin/blosc.dll)
|
||||||
file(RENAME ${CURRENT_PACKAGES_DIR}/lib/blosc.dll ${CURRENT_PACKAGES_DIR}/bin/blosc.dll)
|
endif()
|
||||||
|
if(EXISTS "${CURRENT_PACKAGES_DIR}/debug/lib/blosc.dll")
|
||||||
|
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/debug/bin)
|
||||||
|
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/blosc.dll ${CURRENT_PACKAGES_DIR}/debug/bin/blosc.dll)
|
||||||
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# cleanup
|
# cleanup
|
||||||
|
Loading…
Reference in New Issue
Block a user