diff options
| author | mmazaherit <m.mazaheri.t@gmail.com> | 2017-06-04 16:45:01 -0400 |
|---|---|---|
| committer | mmazaherit <m.mazaheri.t@gmail.com> | 2017-06-04 16:45:01 -0400 |
| commit | df56717129efc85c4984a3d1dbfd0aaf341e86eb (patch) | |
| tree | 8f7fc54a5ff774a45ae31cb76242d4023879b7dd /ports/suitesparse/fix-install-suitesparse.patch | |
| parent | 48017d08947482e7341e4588fb93309c976b6026 (diff) | |
| download | vcpkg-df56717129efc85c4984a3d1dbfd0aaf341e86eb.tar.gz vcpkg-df56717129efc85c4984a3d1dbfd0aaf341e86eb.zip | |
Tested, OK
Diffstat (limited to 'ports/suitesparse/fix-install-suitesparse.patch')
| -rw-r--r-- | ports/suitesparse/fix-install-suitesparse.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ports/suitesparse/fix-install-suitesparse.patch b/ports/suitesparse/fix-install-suitesparse.patch new file mode 100644 index 000000000..ca8cbbd97 --- /dev/null +++ b/ports/suitesparse/fix-install-suitesparse.patch @@ -0,0 +1,19 @@ +diff --git "a/CMakeLists.txt" "b/CMakeLists.txt" +index 679df4e..0a01d47 100644 +--- "a/CMakeLists.txt" ++++ "b/CMakeLists.txt" +@@ -106,10 +106,10 @@ macro(install_suitesparse_project targetName headersList) + set_target_properties(${targetName} PROPERTIES PUBLIC_HEADER "${headersList}") + install(TARGETS ${targetName} + EXPORT SuiteSparse +- RUNTIME DESTINATION bin +- LIBRARY DESTINATION lib${LIB_POSTFIX} +- ARCHIVE DESTINATION lib${LIB_POSTFIX} +- PUBLIC_HEADER DESTINATION include/suitesparse ++ RUNTIME DESTINATION ${suitesparse_PKG_DIR}/$<$<CONFIG:Debug>:Debug/>bin ++ LIBRARY DESTINATION ${suitesparse_PKG_DIR}/$<$<CONFIG:Debug>:Debug/>lib ++ ARCHIVE DESTINATION ${suitesparse_PKG_DIR}/$<$<CONFIG:Debug>:Debug/>lib ++ PUBLIC_HEADER DESTINATION ${suitesparse_PKG_DIR}/include/suitesparse + ) + endmacro() + |
