aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/pybind11/android.diff
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/pybind11/android.diff
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/pybind11/android.diff')
-rw-r--r--vcpkg/ports/pybind11/android.diff16
1 files changed, 16 insertions, 0 deletions
diff --git a/vcpkg/ports/pybind11/android.diff b/vcpkg/ports/pybind11/android.diff
new file mode 100644
index 0000000..1067ff4
--- /dev/null
+++ b/vcpkg/ports/pybind11/android.diff
@@ -0,0 +1,16 @@
+diff --git a/tools/pybind11NewTools.cmake b/tools/pybind11NewTools.cmake
+index e881ca7..c012e2d 100644
+--- a/tools/pybind11NewTools.cmake
++++ b/tools/pybind11NewTools.cmake
+@@ -248,10 +248,7 @@ if(TARGET ${_Python}::Module)
+ # files.
+ get_target_property(module_target_type ${_Python}::Module TYPE)
+ if(ANDROID AND module_target_type STREQUAL INTERFACE_LIBRARY)
+- set_property(
+- TARGET ${_Python}::Module
+- APPEND
+- PROPERTY INTERFACE_LINK_LIBRARIES "${${_Python}_LIBRARIES}")
++ target_link_libraries(${_Python}::Module INTERFACE ${${_Python}_LIBRARIES})
+ endif()
+
+ set_property(