Commit 58af91e1 authored by Dominik Charousset's avatar Dominik Charousset

Fix handling of --build-type option

parent 94e26b31
......@@ -148,7 +148,7 @@ while [ $# -ne 0 ]; do
CMakeGenerator="$optarg"
;;
--build-type=*)
CMakeBuildType="$optarg"
append_cache_entry CMAKE_BUILD_TYPE STRING "$optarg"
;;
--cxx-flags=*)
append_cache_entry CMAKE_CXX_FLAGS STRING "$optarg"
......@@ -164,7 +164,7 @@ while [ $# -ne 0 ]; do
;;
--dev-mode)
append_cache_entry CAF_LOG_LEVEL STRING "$optarg"
CMakeBuildType='Debug'
append_cache_entry CMAKE_BUILD_TYPE STRING 'Debug'
append_cache_entry CAF_LOG_LEVEL STRING 'TRACE'
append_cache_entry CAF_SANITIZERS STRING 'address,undefined'
set_build_flag examples OFF
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment