From: Rene Gassmoeller <rene.gassmoeller@mailbox.org>
Date: Fri, 7 Jul 2023 23:41:39 +0000 (-0700)
Subject: Update cmake variable documentation
X-Git-Tag: relicensing~721^2
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=44e61bda53a6418e73c80c0130eca6bdb4f464fa;p=dealii.git

Update cmake variable documentation
---

diff --git a/cmake/setup_cached_variables.cmake b/cmake/setup_cached_variables.cmake
index 18837becc2..18f1c1241f 100644
--- a/cmake/setup_cached_variables.cmake
+++ b/cmake/setup_cached_variables.cmake
@@ -136,7 +136,7 @@ if( NOT "${CMAKE_BUILD_TYPE}" STREQUAL "Release" AND
     NOT "${CMAKE_BUILD_TYPE}" STREQUAL "Debug" AND
     NOT "${CMAKE_BUILD_TYPE}" STREQUAL "DebugRelease" )
   message(FATAL_ERROR
-    "CMAKE_BUILD_TYPE does neither match Release, Debug, nor DebugRelease!"
+  "CMAKE_BUILD_TYPE must either be 'Release', 'Debug', or 'DebugRelease', but is set to '${CMAKE_BUILD_TYPE}'."
     )
 endif()