ports/textproc/cpp-peglib/files/patch-CMakeLists.txt
Yuri Victorovich 4d0f85ed53 textproc/cpp-peglib: Update 1.3.7 -> 1.3.8
Reported by:	portscout
2022-01-04 09:34:24 -08:00

19 lines
425 B
Text

--- CMakeLists.txt.orig 2022-01-03 16:23:41 UTC
+++ CMakeLists.txt
@@ -17,10 +17,16 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
set(add_link_deps Threads::Threads)
endif()
+if (FREEBSD_BUILD_EXAMPLES)
add_subdirectory(example)
+endif()
+if (FREEBSD_BUILD_LINT)
add_subdirectory(lint)
+endif()
+if (FREEBSD_BUILD_TESTS)
add_subdirectory(test)
enable_testing()
+endif()
install(FILES peglib.h DESTINATION include)