]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: Bugfix: use #cmakedefine defining/undefining preprocessor macro
authorMatthias Maier <tamiko@43-1.org>
Mon, 30 Sep 2024 14:58:59 +0000 (09:58 -0500)
committerMatthias Maier <tamiko@43-1.org>
Mon, 30 Sep 2024 14:58:59 +0000 (09:58 -0500)
include/deal.II/base/config.h.in

index 411f313b85152a864ad341797de9f6a881b6eb81..32b41e4fb026dcb954e6c9589efb9b86c2e541d5 100644 (file)
 #define DEAL_II_COMPILER_VECTORIZATION_LEVEL 0
 #endif
 
-#define DEAL_II_HAVE_ARM_NEON @DEAL_II_HAVE_ARM_NEON@
+#cmakedefine DEAL_II_HAVE_ARM_NEON
 
 #define DEAL_II_OPENMP_SIMD_PRAGMA @DEAL_II_OPENMP_SIMD_PRAGMA@
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.