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=refs%2Fpull%2F15283%2Fhead;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})