sundials/sundials-klu64.patch
2023-03-03 21:36:37 +01:00

40 lines
1.3 KiB
Diff

--- a/cmake/tpl/FindKLU.orig.cmake 2021-09-30 21:05:25.000000000 +0200
+++ b/cmake/tpl/FindKLU.cmake 2023-03-03 21:28:45.354177379 +0100
@@ -54,31 +54,31 @@
else ()
# find library with user provided directory path
- set(KLU_LIBRARY_NAME klu)
+ set(KLU_LIBRARY_NAME klu64)
find_library(KLU_LIBRARY ${KLU_LIBRARY_NAME} ${KLU_LIBRARY_DIR} NO_DEFAULT_PATH)
endif ()
mark_as_advanced(KLU_LIBRARY)
if (NOT AMD_LIBRARY)
- set(AMD_LIBRARY_NAME amd)
+ set(AMD_LIBRARY_NAME amd64)
find_library(AMD_LIBRARY ${AMD_LIBRARY_NAME} ${KLU_LIBRARY_DIR} NO_DEFAULT_PATH)
mark_as_advanced(AMD_LIBRARY)
endif ()
if (NOT COLAMD_LIBRARY)
- set(COLAMD_LIBRARY_NAME colamd)
+ set(COLAMD_LIBRARY_NAME colamd64)
find_library(COLAMD_LIBRARY ${COLAMD_LIBRARY_NAME} ${KLU_LIBRARY_DIR} NO_DEFAULT_PATH)
mark_as_advanced(COLAMD_LIBRARY)
endif ()
if (NOT BTF_LIBRARY)
- set(BTF_LIBRARY_NAME btf)
+ set(BTF_LIBRARY_NAME btf64)
find_library( BTF_LIBRARY ${BTF_LIBRARY_NAME} ${KLU_LIBRARY_DIR} NO_DEFAULT_PATH)
mark_as_advanced(BTF_LIBRARY)
endif ()
if (NOT SUITESPARSECONFIG_LIBRARY)
- set(SUITESPARSECONFIG_LIBRARY_NAME suitesparseconfig)
+ set(SUITESPARSECONFIG_LIBRARY_NAME suitesparseconfig64)
# NOTE: no prefix for this library on windows
if(WIN32 AND NOT MSYS)
set(CMAKE_FIND_LIBRARY_PREFIXES "")