From 3e413ded87ac2a35f555bd24725872bb4e58366d Mon Sep 17 00:00:00 2001 From: Angelo Mantellini Date: Wed, 13 Jan 2021 12:25:16 +0100 Subject: [HICN-667] http proxy does not compile on android with ndk 22 Signed-off-by: Angelo Mantellini Change-Id: Ib372cdda8096083412f202377ac0310f497a950b --- apps/http-proxy/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- cgit 1.2.3-korg