]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Examples: Fix regular expression
authorMatthias Maier <tamiko@43-1.org>
Thu, 24 Nov 2022 11:04:34 +0000 (05:04 -0600)
committerMatthias Maier <tamiko@43-1.org>
Thu, 24 Nov 2022 21:02:56 +0000 (15:02 -0600)
examples/CMakeLists.txt

index 5b2335ab7144840c65b6edd445a500ebe6839135..9171fb3ca2e98cd9d179d6821478936e4bbac774 100644 (file)
@@ -69,7 +69,7 @@ IF(DEAL_II_COMPONENT_EXAMPLES)
       SET(_setup FALSE)
       IF(EXISTS "${_directory}/CMakeLists.txt")
         FILE(STRINGS "${_directory}/CMakeLists.txt" _dependency_string
-          REGEX "^IF.*DEAL_II.* # keep in one line$"
+          REGEX "^if.*DEAL_II.* # keep in one line$"
           )
         STRING(REPLACE "IF(" "" _dependency_string "${_dependency_string}")
         STRING(REPLACE ") # keep in one line" "" _dependency_string "${_dependency_string}")

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.