diff options
| author | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
|---|---|---|
| committer | Ethan Morgan <ethan@gweithio.com> | 2026-02-14 16:44:06 +0000 |
| commit | 54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch) | |
| tree | d915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/suitesparse-config/SuiteSparseBLAS.cmake | |
Diffstat (limited to 'vcpkg/ports/suitesparse-config/SuiteSparseBLAS.cmake')
| -rw-r--r-- | vcpkg/ports/suitesparse-config/SuiteSparseBLAS.cmake | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/vcpkg/ports/suitesparse-config/SuiteSparseBLAS.cmake b/vcpkg/ports/suitesparse-config/SuiteSparseBLAS.cmake new file mode 100644 index 0000000..7cd9522 --- /dev/null +++ b/vcpkg/ports/suitesparse-config/SuiteSparseBLAS.cmake @@ -0,0 +1,9 @@ +find_package(BLAS REQUIRED)
+set(BLA_SIZEOF_INTEGER 4)
+set(SuiteSparse_BLAS_integer int32_t)
+
+if(WIN32)
+ # OpenBLAS includes an underscore suffix on Windows for all of its symbols.
+ # This is not detected automatically by SuiteSparse or FindBLAS and needs to be set manually.
+ add_compile_definitions(BLAS64__SUFFIX=_)
+endif()
|