Files
macports-ports/math/dbcsr/files/patch-accelerate.diff

17 lines
549 B
Diff

# It does not get picked correctly when conditional.
--- src/CMakeLists.txt.orig 2022-12-28 04:24:55.000000000 +0700
+++ src/CMakeLists.txt 2023-01-14 18:54:26.000000000 +0700
@@ -175,10 +175,7 @@
if (APPLE)
# fix /proc/self/statm can not be opened on macOS
target_compile_definitions(dbcsr PRIVATE __NO_STATM_ACCESS)
-
- if (BLAS_LIBRARIES MATCHES "Accelerate")
- target_compile_definitions(dbcsr PRIVATE __ACCELERATE)
- endif ()
+ target_compile_definitions(dbcsr PRIVATE __ACCELERATE)
endif ()
# set -DNDEBUG for Release builds