zeek/auxil/vcpkg/ports/mathgl/enable-examples.patch
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

15 lines
387 B
Diff

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)