From ea8d4d92b3f289502f891e1a7272721b5a5cd2bd Mon Sep 17 00:00:00 2001 From: David Wells Date: Tue, 20 Jun 2023 10:06:54 -0400 Subject: [PATCH] Fix a CMake typo. We now print the correct copyright year. --- doc/doxygen/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5