From 5a279971bc0f4e647b8e0f648a2b3c68506b2cd3 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 12 Nov 2022 02:09:20 +0100 Subject: don't set CMAKE_BUILD_TYPE as a non-cache variable this allows the userconfig more chances to set it manually. --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 53373c1c..7ccdddaa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -57,6 +57,8 @@ function(sets type) endwhile() endfunction() +sets(STRING CMAKE_BUILD_TYPE "${CMAKE_BUILD_TYPE}") + function(fm_run_hook str) if(COMMAND "${str}") cmake_language(CALL "${str}") -- cgit v1.2.3