aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/mathgl/fix-include-property.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/mathgl/fix-include-property.patch
move to own git serverHEADmaster
Diffstat (limited to 'vcpkg/ports/mathgl/fix-include-property.patch')
-rw-r--r--vcpkg/ports/mathgl/fix-include-property.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/mathgl/fix-include-property.patch b/vcpkg/ports/mathgl/fix-include-property.patch
new file mode 100644
index 0000000..1c15d38
--- /dev/null
+++ b/vcpkg/ports/mathgl/fix-include-property.patch
@@ -0,0 +1,14 @@
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index d44125c..1ad17a1 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -53,6 +53,9 @@ generate_export_header(mgl EXPORT_FILE_NAME ../include/mgl2/dllexport.h)
+ target_link_libraries(mgl ${MGL_DEP_LIBS})
+ target_link_libraries(mgl-static ${MGL_DEP_LIBS})
+
++target_include_directories(mgl PUBLIC $<INSTALL_INTERFACE:include>)
++target_include_directories(mgl-static PUBLIC $<INSTALL_INTERFACE:include>)
++
+ mgl_po_src(${mgl_src} ${mgl_hdr})
+
+ if(MGL_HAVE_MPI)