File tree 1 file changed +10
-0
lines changed
Build/libHttpClient.Android
1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,11 @@ if (NOT DEFINED HC_NOZLIB)
88
88
"${PATH_TO_ROOT} /External/zlib"
89
89
"${PATH_TO_ROOT} /External/zlib/contrib/minizip"
90
90
)
91
+
92
+ set_source_files_properties (
93
+ "${PATH_TO_ROOT} /External/zlib/contrib/minizip/ioapi.c"
94
+ PROPERTIES COMPILE_DEFINITIONS "MINIZIP_FOPEN_NO_64=1"
95
+ )
91
96
endif ()
92
97
93
98
set (COMMON_INCLUDE_DIRS
@@ -107,6 +112,11 @@ set(ANDROID_INCLUDE_DIRS
107
112
"${PATH_TO_ROOT} /External/opensslGeneratedHeaders/android"
108
113
)
109
114
115
+ add_compile_options (
116
+ $<$<COMPILE_LANGUAGE:CXX>:-Wno-error=implicit-function-declaration>
117
+ $<$<COMPILE_LANGUAGE:C>:-Wno-error=implicit-function-declaration>
118
+ )
119
+
110
120
#########################
111
121
### Set up static lib ###
112
122
#########################
You can’t perform that action at this time.
0 commit comments