From 8bcdecb7f968aaee8166387eae3c4083df84ed11 Mon Sep 17 00:00:00 2001 From: dxl <64101226@qq.com> Date: Thu, 18 Jun 2020 15:46:44 +0800 Subject: [PATCH] Disable external libary compile warnning. --- client/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/CMakeLists.txt b/client/CMakeLists.txt index 12f709caf..ce73135dc 100644 --- a/client/CMakeLists.txt +++ b/client/CMakeLists.txt @@ -59,7 +59,7 @@ endif (NOT SKIPPYTHON EQUAL 1) # If build on android cross, we need to init source and build. if (ANDROID) - set(CFLAGS_EXTERNAL_LIB CFLAGS=--target=${CMAKE_C_COMPILER_TARGET}) + set(CFLAGS_EXTERNAL_LIB "CFLAGS=--target=${CMAKE_C_COMPILER_TARGET} -w") include(ExternalProject) endif (ANDROID)