]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix up generator expression 15283/head
authorDaniel Arndt <arndtd@ornl.gov>
Thu, 1 Jun 2023 12:53:33 +0000 (12:53 +0000)
committerDaniel Arndt <arndtd@ornl.gov>
Thu, 1 Jun 2023 12:53:33 +0000 (12:53 +0000)
cmake/macros/macro_strip_known_generator_expressions.cmake

index 31ab538c97cd81101fadc9f65bdf909d0a68d0cd..5bbdd24e34ffdf58c6a4529e6768e3f2e5649540 100644 (file)
@@ -22,9 +22,9 @@
 
 macro(strip_known_generator_expressions _variable)
   set(generator_expressions
-    "^\\$<LINK_ONLY:(.*)>$"
-    "^\\$<\\$<LINK_LANGUAGE:CXX>:(.*)>$"
-    "^\\$<\\$<COMPILE_LANGUAGE:CXX>:(.*)>$"
+    "\\$<LINK_ONLY:([^>]*)>"
+    "\\$<\\$<LINK_LANGUAGE:CXX>:([^>]*)>"
+    "\\$<\\$<COMPILE_LANGUAGE:CXX>:([^>]*)>"
     )
 
   foreach(expression ${generator_expressions})

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.