We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cc52d57 + 2bb8179 commit a04f63eCopy full SHA for a04f63e
cpp/inspireface/CMakeLists.txt
@@ -150,6 +150,10 @@ target_include_directories(InspireFace PUBLIC
150
)
151
152
if (ANDROID)
153
+ target_link_options(${CMAKE_PROJECT_NAME} PRIVATE "-Wl,-z,max-page-size=16384")
154
+ if(ANDROID_NDK_MAJOR LESS_EQUAL 22)
155
+ target_link_options(${CMAKE_PROJECT_NAME} PRIVATE "-Wl,-z,common-page-size=16384")
156
+ endif()
157
target_link_libraries(InspireFace PUBLIC ${LINK_THIRD_LIBS} jnigraphics log)
158
159
set_target_properties(InspireFace PROPERTIES
@@ -263,4 +267,4 @@ if (NOT IOS)
263
267
264
268
endif()
265
269
266
-endif()
270
+endif()
0 commit comments