From 7c0e5b9cd797e9bed98fc8d1df411894a4174d87 Mon Sep 17 00:00:00 2001 From: Mauro Sardara Date: Sun, 19 May 2019 16:55:30 +0200 Subject: [HICN-202] Compile apps in release mode if no build mode is specified Change-Id: I23680a4a4f3863e9aef396dbb9aebe7cc75c3353 Signed-off-by: Mauro Sardara --- apps/http-proxy/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'apps/http-proxy/CMakeLists.txt') diff --git a/apps/http-proxy/CMakeLists.txt b/apps/http-proxy/CMakeLists.txt index 010a2c2b6..85c044d58 100644 --- a/apps/http-proxy/CMakeLists.txt +++ b/apps/http-proxy/CMakeLists.txt @@ -19,6 +19,11 @@ set(CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/Modules/" ) +if (NOT CMAKE_BUILD_TYPE) + message(STATUS "No build type selected, default to Release") + set(CMAKE_BUILD_TYPE "Release") +endif () + find_package(Threads REQUIRED) include_directories( SYSTEM -- cgit 1.2.3-korg