summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngelo Mantellini <angelo.mantellini@cisco.com>2020-12-22 00:13:33 +0100
committerAngelo Mantellini <angelo.mantellini@cisco.com>2020-12-22 00:14:26 +0100
commit82372f5a24039e4fa964e8d247d836c867d4761a (patch)
tree1d9e527cc421ee169b803af5ef8e25bd5e84f778
parent0042b0305d2fd3831bf758095145396eaffaf63d (diff)
[HICN-667] http proxy does not compile on android with ndk 22
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: Ib3f3bd89678f1b29eb25bf502a1e8bd5285d7d84
-rw-r--r--apps/http-proxy/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/http-proxy/CMakeLists.txt b/apps/http-proxy/CMakeLists.txt
index d2d02d0dc..5901c31f7 100644
--- a/apps/http-proxy/CMakeLists.txt
+++ b/apps/http-proxy/CMakeLists.txt
@@ -14,6 +14,8 @@
cmake_minimum_required(VERSION 3.5 FATAL_ERROR)
set(CMAKE_CXX_STANDARD 14)
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-c99-designator")
+
set(CMAKE_MODULE_PATH
${CMAKE_MODULE_PATH}
"${CMAKE_SOURCE_DIR}/cmake/Modules/"