aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2020-06-16 18:33:38 -0400
committerScott Murray <scott.murray@konsulko.com>2020-06-16 18:34:05 -0400
commitf53830d18c0a155863a11f35e228ec4a8d342622 (patch)
tree871820ffbade536d1c7ade7fb4e53f6d5ef282a2
parent303a1b70b4ce22154d2876cdc937bd6e1ac0dc67 (diff)
CMAKE_BUILD_TYPE was being set in config.cmake instead of BUILD_TYPE, so passing in a value via autobuild was being ignored. Change it to BUILD_TYPE as it is in the cmake template to get the expected behavior. Bug-AGL: SPEC-2049, SPEC-3300 Signed-off-by: Scott Murray <scott.murray@konsulko.com> Change-Id: I60ab931b8f0bd2405d87658fde8ead6fe5f58400
-rw-r--r--conf.d/cmake/config.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf.d/cmake/config.cmake b/conf.d/cmake/config.cmake
index 099662c..d410d8b 100644
--- a/conf.d/cmake/config.cmake
+++ b/conf.d/cmake/config.cmake
@@ -43,7 +43,7 @@ set(PROJECT_CMAKE_CONF_DIR "conf.d")
# Compilation Mode (DEBUG, RELEASE)
# ----------------------------------
-set(CMAKE_BUILD_TYPE "RELEASE")
+set(BUILD_TYPE "RELEASE")
#set(USE_EFENCE 1)
# Helpers Submodule parameters