diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/http-proxy/CMakeLists.txt | 2 |
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() |