aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorMauro Sardara <msardara@cisco.com>2019-05-19 16:55:30 +0200
committerMauro Sardara <msardara@cisco.com>2019-05-19 16:55:30 +0200
commit7c0e5b9cd797e9bed98fc8d1df411894a4174d87 (patch)
tree10e4c5cbba2f25b133735e66168c0185fbf2a06c /utils
parent2626851f4846829e7cfa993a75dfbeab17fc9371 (diff)
[HICN-202] Compile apps in release mode if no build mode is specified
Change-Id: I23680a4a4f3863e9aef396dbb9aebe7cc75c3353 Signed-off-by: Mauro Sardara <msardara@cisco.com>
Diffstat (limited to 'utils')
-rw-r--r--utils/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt
index b1993e740..1697dcf9b 100644
--- a/utils/CMakeLists.txt
+++ b/utils/CMakeLists.txt
@@ -22,6 +22,11 @@ set(CMAKE_MODULE_PATH
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/Modules"
)
+if (NOT CMAKE_BUILD_TYPE)
+ message(STATUS "No build type selected, default to Release")
+ set(CMAKE_BUILD_TYPE "Release")
+endif ()
+
include(BuildMacros)
include(WindowsMacros)