From 2f9b9fa671f09a1e37e9e0b54b3b16baac613dab Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Fri, 25 Nov 2022 06:40:58 -0600 Subject: [PATCH] CMake: add compatibility definitions to Config.cmake.in --- cmake/config/Config.cmake.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake/config/Config.cmake.in b/cmake/config/Config.cmake.in index 0f1cbfd06d..73d96b9686 100644 --- a/cmake/config/Config.cmake.in +++ b/cmake/config/Config.cmake.in @@ -133,12 +133,15 @@ set(DEAL_II_LINKER_FLAGS_RELEASE "@DEAL_II_LINKER_FLAGS_RELEASE@") # used for all targets: set(DEAL_II_DEFINITIONS "@DEAL_II_DEFINITIONS@") +set(DEAL_II_USER_DEFINITIONS "${DEAL_II_DEFINITIONS}") # _additionally_ used for debug targets: set(DEAL_II_DEFINITIONS_DEBUG "@DEAL_II_DEFINITIONS_DEBUG@") +set(DEAL_II_USER_DEFINITIONS_DEBUG "${DEAL_II_DEFINITIONS_DEBUG}") # _additionally_ used for release targets: set(DEAL_II_DEFINITIONS_RELEASE "@DEAL_II_DEFINITIONS_RELEASE@") +set(DEAL_II_USER_DEFINITIONS_RELEASE "${DEAL_II_DEFINITIONS_RELEASE}") # # MPI runtime: -- 2.39.5