diff --git a/litehtml-maui-native/CMakeLists.txt b/litehtml-maui-native/CMakeLists.txt index 76d9708..c26df71 100644 --- a/litehtml-maui-native/CMakeLists.txt +++ b/litehtml-maui-native/CMakeLists.txt @@ -30,8 +30,6 @@ endif() # Add source to this project's executable. - - add_library (litehtml-maui ${LIB_TYPE} "src/litehtml-maui.cpp" "src/litehtml-maui.h" "src/litehtml-maui-container.h" "src/litehtml-maui-container.cpp") set_target_properties(litehtml-maui PROPERTIES @@ -40,6 +38,9 @@ set_target_properties(litehtml-maui PROPERTIES PUBLIC_HEADER "src/litehtml-maui.h" ) +# Android 16kb page size +target_link_options(litehtml-maui PRIVATE "-Wl,-z,max-page-size=16384") + target_link_libraries(litehtml-maui litehtml)