summaryrefslogtreecommitdiff
path: root/math/polyclipper/files/patch-CMakeLists.txt
blob: e113fc7b92bf7e43b86b54a99fbadb839ab175f8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
--- CMakeLists.txt.orig	2023-03-30 17:11:57 UTC
+++ CMakeLists.txt
@@ -78,4 +78,6 @@ endif()
 #-------------------------------------------------------------------------------
 # Add any tests
 #-------------------------------------------------------------------------------
-add_subdirectory(test/test_array_vector)
+if (BUILD_TESTING)
+  add_subdirectory(test/test_array_vector)
+endif()