From: David Wells Date: Tue, 20 Jun 2023 14:06:54 +0000 (-0400) Subject: Fix a CMake typo. X-Git-Tag: v9.5.0-rc1~80^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ea8d4d92b3f289502f891e1a7272721b5a5cd2bd;p=dealii.git Fix a CMake typo. We now print the correct copyright year. --- diff --git a/doc/doxygen/CMakeLists.txt b/doc/doxygen/CMakeLists.txt index 6537bc1a48..020d921b2b 100644 --- a/doc/doxygen/CMakeLists.txt +++ b/doc/doxygen/CMakeLists.txt @@ -126,7 +126,7 @@ file(GLOB _source_files foreach (_source ${_source_files}) file(READ "${_source}" contents) string(REGEX MATCH "Copyright .C. +([0-9]+ - )?([0-9]+)" _copyright "${contents}") - if (NOT _copright STREQUAL "") + if (NOT "${_copyright}" STREQUAL "") string(REGEX MATCH "[0-9]+\$" _year "${_copyright}") if (NOT _year STREQUAL "" AND _year GREATER _last_year)