summaryrefslogtreecommitdiff
path: root/devel/tclap/files/patch-CMakeLists.txt
blob: 55470e0a172aec06c9d8846fa722ffc929feaf92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- CMakeLists.txt.orig	2021-09-07 09:26:56 UTC
+++ CMakeLists.txt
@@ -25,7 +25,13 @@ install(FILES "${PROJECT_BINARY_DIR}/tclap/TCLAPConfig
   DESTINATION include/tclap
   )
 
+if (FREEBSD_DOCS)
 add_subdirectory(docs)
+endif()
+if (FREEBSD_EXAMPLES)
 add_subdirectory(examples)
+endif()
+if (FREEBSD_TESTS)
 add_subdirectory(tests)
+endif()
 add_subdirectory(include/tclap)