[armadillo] no absolute paths (#21663)

This commit is contained in:
autoantwort 2021-12-28 23:12:41 +01:00 committed by GitHub
parent 2689f785c9
commit 29cc5024ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 2 deletions

View File

@ -41,6 +41,10 @@ if(SHARE_LEN EQUAL 0)
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/share/Armadillo")
endif()
if (VCPKG_TARGET_IS_WINDOWS)
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/armadillo_bits/config.hpp" "#define ARMA_AUX_LIBS ${CURRENT_INSTALLED_DIR}/lib/openblas.lib;${CURRENT_INSTALLED_DIR}/lib/lapack.lib;${CURRENT_INSTALLED_DIR}/lib/openblas.lib" "")
endif()
file(COPY "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)

View File

@ -1,7 +1,7 @@
{
"name": "armadillo",
"version": "10.6.2",
"port-version": 2,
"port-version": 3,
"description": "Armadillo is a high quality linear algebra library (matrix maths) for the C++ language, aiming towards a good balance between speed and ease of use",
"homepage": "http://arma.sourceforge.net",
"dependencies": [

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "88bb8282f33e16f2c59856f68ed9934ff26c7e02",
"version": "10.6.2",
"port-version": 3
},
{
"git-tree": "2a7774c182c273a8d6f350a383f4a3bcf01e308e",
"version": "10.6.2",

View File

@ -162,7 +162,7 @@
},
"armadillo": {
"baseline": "10.6.2",
"port-version": 2
"port-version": 3
},
"arrayfire": {
"baseline": "3.8.0",