diff options
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()
|