opnsense-ports/devel/tclap/files/patch-CMakeLists.txt
Franco Fichtner 3e5f786de0 */*: sync with upstream
Taken from: FreeBSD
2021-09-08 12:44:47 +02:00

16 lines
376 B
Text

--- 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)