From 1e4bab4eb5a0b3b60c96a6b49135f1e252f68876 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 23 Jan 2024 20:40:00 +1100 Subject: [PATCH] CMake: always mark CMAKE_BUILD_TYPE_INIT as advanced When defined this wasn't marked as advanced. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 80711159b17..8369241155d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,8 +42,8 @@ if(NOT DEFINED CMAKE_BUILD_TYPE_INIT) set(CMAKE_BUILD_TYPE_INIT "Release") # Internal logic caches this variable, avoid showing it by default # since it's easy to accidentally set instead of the build type. - mark_as_advanced(CMAKE_BUILD_TYPE_INIT) endif() +mark_as_advanced(CMAKE_BUILD_TYPE_INIT) # Omit superfluous "Up-to-date" messages. if(NOT DEFINED CMAKE_INSTALL_MESSAGE)