]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Update cmake variable documentation 15681/head
authorRene Gassmoeller <rene.gassmoeller@mailbox.org>
Fri, 7 Jul 2023 23:41:39 +0000 (16:41 -0700)
committerRene Gassmoeller <rene.gassmoeller@mailbox.org>
Fri, 7 Jul 2023 23:41:39 +0000 (16:41 -0700)
cmake/setup_cached_variables.cmake

index 18837becc2069b68ce1d1411d4114cacd840d758..18f1c1241f5e82e0bc7de2275d4b9ffede10b72c 100644 (file)
@@ -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()
 

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.