aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAngelo Mantellini <angelo.mantellini@cisco.com>2021-01-13 12:25:16 +0100
committerAngelo Mantellini <angelo.mantellini@cisco.com>2021-01-13 12:25:16 +0100
commit3e413ded87ac2a35f555bd24725872bb4e58366d (patch)
treeab75f7596eda67d1ff05787f58ea50b15104a24a
parentce1ec022d26ef9c993be40be90ec36787e713ecc (diff)
[HICN-667] http proxy does not compile on android with ndk 22
Signed-off-by: Angelo Mantellini <angelo.mantellini@cisco.com> Change-Id: Ib372cdda8096083412f202377ac0310f497a950b
-rw-r--r--apps/http-proxy/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/http-proxy/CMakeLists.txt b/apps/http-proxy/CMakeLists.txt
index e7bcb551a..8c2043c30 100644
--- a/apps/http-proxy/CMakeLists.txt
+++ b/apps/http-proxy/CMakeLists.txt
@@ -21,7 +21,7 @@ set(CMAKE_CXX_STANDARD 14)
if (CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
EXECUTE_PROCESS( COMMAND ${CMAKE_CXX_COMPILER} --version OUTPUT_VARIABLE clang_full_version_string )
string (REGEX REPLACE ".*clang version ([0-9]+\\.[0-9]+).*" "\\1" CLANG_VERSION_STRING ${clang_full_version_string})
- if (CLANG_VERSION_STRING VERSION_GREATER 11)
+ if (CLANG_VERSION_STRING VERSION_GREATER_EQUAL 11)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-c99-designator")
endif()
endif()