From: Daniel Arndt Date: Thu, 1 Jun 2023 12:53:33 +0000 (+0000) Subject: Fix up generator expression X-Git-Tag: v9.5.0-rc1~137^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6e9364c634dd2cbc01557b37d7ab8cc16888ea8;p=dealii.git Fix up generator expression --- diff --git a/cmake/macros/macro_strip_known_generator_expressions.cmake b/cmake/macros/macro_strip_known_generator_expressions.cmake index 31ab538c97..5bbdd24e34 100644 --- a/cmake/macros/macro_strip_known_generator_expressions.cmake +++ b/cmake/macros/macro_strip_known_generator_expressions.cmake @@ -22,9 +22,9 @@ macro(strip_known_generator_expressions _variable) set(generator_expressions - "^\\$$" - "^\\$<\\$:(.*)>$" - "^\\$<\\$:(.*)>$" + "\\$]*)>" + "\\$<\\$:([^>]*)>" + "\\$<\\$:([^>]*)>" ) foreach(expression ${generator_expressions})