Disable external libary compile warnning.

This commit is contained in:
dxl 2020-06-18 15:46:44 +08:00
parent 3b4c21e64b
commit 8bcdecb7f9

View file

@ -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)