diff options
author | Alberto Compagno <acompagn+fdio@cisco.com> | 2019-05-19 15:23:13 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@fd.io> | 2019-05-19 15:23:13 +0000 |
commit | 250e5f768a75a62b001c16932e06055fa64a1a27 (patch) | |
tree | 9ac0ac8d50b49faf9d556e914f6d573372eaca70 /utils | |
parent | 0d967df60ea818382dca57316a022b6b967c9254 (diff) | |
parent | 7c0e5b9cd797e9bed98fc8d1df411894a4174d87 (diff) |
Merge "[HICN-202] Compile apps in release mode if no build mode is specified"
Diffstat (limited to 'utils')
-rw-r--r-- | utils/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/CMakeLists.txt b/utils/CMakeLists.txt index c78110949..2f7b3bb12 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) |