From 44e61bda53a6418e73c80c0130eca6bdb4f464fa Mon Sep 17 00:00:00 2001 From: Rene Gassmoeller Date: Fri, 7 Jul 2023 16:41:39 -0700 Subject: [PATCH] Update cmake variable documentation --- cmake/setup_cached_variables.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.39.5