From: Matthias Maier Date: Fri, 25 Nov 2022 12:40:58 +0000 (-0600) Subject: CMake: add compatibility definitions to Config.cmake.in X-Git-Tag: v9.5.0-rc1~812^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f9b9fa671f09a1e37e9e0b54b3b16baac613dab;p=dealii.git CMake: add compatibility definitions to Config.cmake.in --- 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: