summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
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}")