aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/sfml/03-fix-android-install-path.patch
diff options
context:
space:
mode:
authorEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
committerEthan Morgan <ethan@gweithio.com>2026-02-14 16:44:06 +0000
commit54409423f767d8b1cf30cb7d0efca6b4ca138823 (patch)
treed915ac7828703ce4b963efdd9728a1777ba18c1e /vcpkg/ports/sfml/03-fix-android-install-path.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/sfml/03-fix-android-install-path.patch')
-rw-r--r--vcpkg/ports/sfml/03-fix-android-install-path.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/vcpkg/ports/sfml/03-fix-android-install-path.patch b/vcpkg/ports/sfml/03-fix-android-install-path.patch
new file mode 100644
index 0000000..ab31b3d
--- /dev/null
+++ b/vcpkg/ports/sfml/03-fix-android-install-path.patch
@@ -0,0 +1,17 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index f9cdd1c20..24d891d26 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -80,12 +80,6 @@ if(SFML_OS_ANDROID)
+
+ # avoid missing libraries when building SFML for Android with NDK r19c and later
+ list(PREPEND CMAKE_FIND_ROOT_PATH "${PROJECT_SOURCE_DIR}")
+-
+- # install everything in $NDK/sources/ because this path is appended by the NDK (convenient)
+- set(CMAKE_INSTALL_PREFIX ${CMAKE_ANDROID_NDK}/sources/third_party/sfml)
+-
+- # we install libs in a subdirectory named after the ABI
+- set(CMAKE_INSTALL_LIBDIR "${CMAKE_INSTALL_LIBDIR}/${CMAKE_ANDROID_ARCH_ABI}")
+ endif()
+
+ # Install directories