summaryrefslogtreecommitdiffstats
path: root/conf.d/cmake
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2020-06-16 18:28:20 -0400
committerScott Murray <scott.murray@konsulko.com>2020-06-16 18:32:47 -0400
commit3caa8ddb2ff6435b119b1ef25bcad41658cf9799 (patch)
tree09b8a73b6e0336ed1e8dd4d6c6571933dca1adb1 /conf.d/cmake
parent8444330de0c7db523e471874d098012f6af60180 (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: I48cd5ee144a4b768b5ce4bebd9c63a71808d9924
Diffstat (limited to 'conf.d/cmake')
-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 a1d7957..1fde1b3 100644
--- a/conf.d/cmake/config.cmake
+++ b/conf.d/cmake/config.cmake
@@ -42,7 +42,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