From 6604565c6b824a2386821bf061cb4b9bb9c43b2a Mon Sep 17 00:00:00 2001
From: Christoph Alt <christoph.alt@fau.de>
Date: Mon, 10 Mar 2025 17:23:46 +0100
Subject: [PATCH] some typo in error message and reformatting

---
 cmake/compileroptions/IBM.cmake | 23 ++++++++++++++++-------
 cmake/compileroptions/PGI.cmake |  2 +-
 2 files changed, 17 insertions(+), 8 deletions(-)

diff --git a/cmake/compileroptions/IBM.cmake b/cmake/compileroptions/IBM.cmake
index ca76321c3..6b6a2617d 100644
--- a/cmake/compileroptions/IBM.cmake
+++ b/cmake/compileroptions/IBM.cmake
@@ -9,12 +9,21 @@ add_flag(CMAKE_CXX_FLAGS "-qpic=large")
 
 # Silences compiler and linker warnings and information with the IBM compiler
 add_flag(CMAKE_CXX_FLAGS "-qsuppress=1586-267") # 1586-267 (I) Inlining of
-# specified subprogram failed due to the presence of a C++ exception handler
+                                                # specified subprogram failed
+                                                # due to the presence of a C++
+                                                # exception handler
 add_flag(CMAKE_CXX_FLAGS "-qsuppress=1586-266") # 1586-266 (I) Inlining of
-# specified subprogram failed due to the presence of a global label
+                                                # specified subprogram failed
+                                                # due to the presence of a
+                                                # global label
 add_flag(CMAKE_CXX_FLAGS "-qsuppress=1500-030") # 1500-030: (I) INFORMATION:
-# [...] Additional optimization may be attained by recompiling and specifying
-# MAXMEM option with a value greater than 8192.
-add_flag(CMAKE_C_FLAGS "-qsuppress=1500-030") # 1500-030: (I) INFORMATION:
-# [...] Additional optimization may be attained by recompiling and specifying
-# MAXMEM option with a value greater than 8192.
+                                                # [...] Additional optimization
+                                                # may be attained by recompiling
+                                                # and specifying MAXMEM option
+                                                # with a value greater than
+                                                # 8192.
+add_flag(CMAKE_C_FLAGS "-qsuppress=1500-030") # 1500-030: (I) INFORMATION: [...]
+                                              # Additional optimization may be
+                                              # attained by recompiling and
+                                              # specifying MAXMEM option with a
+                                              # value greater than 8192.
diff --git a/cmake/compileroptions/PGI.cmake b/cmake/compileroptions/PGI.cmake
index 2f2e38078..66528dce3 100644
--- a/cmake/compileroptions/PGI.cmake
+++ b/cmake/compileroptions/PGI.cmake
@@ -1,4 +1,4 @@
-message(STATUS "Setting Cray specific compiler options")
+message(STATUS "Setting PGI specific compiler options")
 
 # Silences compiler and linker warnings and information with the PGI compiler
 add_flag(CMAKE_CXX_FLAGS "--display_error_number")
-- 
GitLab