From cf405d4ed024f6517e1793e6dea1b5adacbc527a Mon Sep 17 00:00:00 2001 From: Alberto Luaces Date: Wed, 11 Mar 2020 01:26:45 +0100 Subject: [suitesparse] Enable compiling SuiteSparse DLLs (#10305) * Enable compiling SuiteSparse DLLs Generated dynamic libraries work ok when linked to other projects. * [suitesparse] Refresh port file for new vcpkg * Update CONTROL file. --- ports/suitesparse/CONTROL | 2 +- ports/suitesparse/portfile.cmake | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/ports/suitesparse/CONTROL b/ports/suitesparse/CONTROL index fa269b668..7d31c1d94 100644 --- a/ports/suitesparse/CONTROL +++ b/ports/suitesparse/CONTROL @@ -1,5 +1,5 @@ Source: suitesparse -Version: 5.4.0-4 +Version: 5.4.0-5 Build-Depends: clapack (!osx) Homepage: http://faculty.cse.tamu.edu/davis/SuiteSparse Description: algebra library diff --git a/ports/suitesparse/portfile.cmake b/ports/suitesparse/portfile.cmake index 6dcf20239..d55688121 100644 --- a/ports/suitesparse/portfile.cmake +++ b/ports/suitesparse/portfile.cmake @@ -1,7 +1,3 @@ -include(vcpkg_common_functions) - -vcpkg_check_linkage(ONLY_STATIC_LIBRARY) - set(SUITESPARSE_VER 5.4.0) set(SUITESPARSEWIN_VER 1.4.0) @@ -65,5 +61,5 @@ vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/suitesparse-${SUITESPARSE_VER}) file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include) -file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/suitesparse RENAME copyright) -file(INSTALL ${SUITESPARSEWIN_SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/suitesparse RENAME copyright_suitesparse-metis-for-windows) +file(INSTALL ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright) +file(INSTALL ${SUITESPARSEWIN_SOURCE_PATH}/LICENSE.md DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright_suitesparse-metis-for-windows) -- cgit v1.2.3