diff options
| author | Alberto Luaces <aluaces@udc.es> | 2020-03-11 01:26:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-03-10 17:26:45 -0700 |
| commit | cf405d4ed024f6517e1793e6dea1b5adacbc527a (patch) | |
| tree | 4d50f78d93f687331be5e85763ba4410d219621c | |
| parent | 982713eca25a2e19f7867a37dcb89e1788a9d5c7 (diff) | |
| download | vcpkg-cf405d4ed024f6517e1793e6dea1b5adacbc527a.tar.gz vcpkg-cf405d4ed024f6517e1793e6dea1b5adacbc527a.zip | |
[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.
| -rw-r--r-- | ports/suitesparse/CONTROL | 2 | ||||
| -rw-r--r-- | 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) |
