aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/mathgl/enable-examples.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/mathgl/enable-examples.patch')
-rw-r--r--vcpkg/ports/mathgl/enable-examples.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/vcpkg/ports/mathgl/enable-examples.patch b/vcpkg/ports/mathgl/enable-examples.patch
new file mode 100644
index 0000000..ff809bf
--- /dev/null
+++ b/vcpkg/ports/mathgl/enable-examples.patch
@@ -0,0 +1,14 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index b393fa7..8a1ce4b 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -838,7 +838,9 @@ if(NOT enable-lgpl)
+ add_subdirectory( lang )
+ endif(enable-python OR enable-lua OR enable-octave)
+ add_subdirectory( utils )
++if(enable-examples)
+ add_subdirectory( examples )
++endif()
+ if(NOT WIN32)
+ add_subdirectory( fonts )
+ endif(NOT WIN32)