[xtensor-io] no absolute paths (#21099)

This commit is contained in:
autoantwort 2021-11-04 20:57:43 +01:00 committed by GitHub
parent c8842c66f2
commit 586cbbc449
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 1 deletions

View File

@ -20,6 +20,11 @@ vcpkg_cmake_configure(
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/${PORT})
foreach(bit "64" "32" "")
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/xtensor-io/xtensor_io_config.hpp" "#pragma cling add_library_path(\"${CURRENT_PACKAGES_DIR}/lib${bit}\")" "")
endforeach()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,6 +1,7 @@
{
"name": "xtensor-io",
"version": "0.12.8",
"port-version": 1,
"description": "xtensor plugin to read and write images, audio files, numpy (compressed) npz and HDF5",
"homepage": "https://github.com/xtensor-stack/xtensor-io",
"dependencies": [

View File

@ -7238,7 +7238,7 @@
},
"xtensor-io": {
"baseline": "0.12.8",
"port-version": 0
"port-version": 1
},
"xtl": {
"baseline": "0.7.2",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "ba855025d72826b6462959f0e8f895e62102e626",
"version": "0.12.8",
"port-version": 1
},
{
"git-tree": "0f70c1f44abb24d6d3883b9cd5efd4acc0473787",
"version": "0.12.8",