summaryrefslogtreecommitdiff
path: root/textproc/cpp-peglib/files/patch-CMakeLists.txt
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2022-01-04 09:21:30 -0800
committerYuri Victorovich <yuri@FreeBSD.org>2022-01-04 09:34:24 -0800
commit4d0f85ed53ee989a76b60248bf0a0485e95896a8 (patch)
tree1b185200c176956e128e534d6148c565a62431e8 /textproc/cpp-peglib/files/patch-CMakeLists.txt
parentsysutils/goawk: Update 1.9.2 -> 1.13.0 (diff)
textproc/cpp-peglib: Update 1.3.7 -> 1.3.8
Reported by: portscout
Diffstat (limited to 'textproc/cpp-peglib/files/patch-CMakeLists.txt')
-rw-r--r--textproc/cpp-peglib/files/patch-CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/textproc/cpp-peglib/files/patch-CMakeLists.txt b/textproc/cpp-peglib/files/patch-CMakeLists.txt
index dfb2b7ffb390..c7814b494b41 100644
--- a/textproc/cpp-peglib/files/patch-CMakeLists.txt
+++ b/textproc/cpp-peglib/files/patch-CMakeLists.txt
@@ -1,4 +1,4 @@
---- CMakeLists.txt.orig 2021-03-31 01:03:42 UTC
+--- 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)
@@ -10,9 +10,9 @@
+if (FREEBSD_BUILD_LINT)
add_subdirectory(lint)
+endif()
-
+if (FREEBSD_BUILD_TESTS)
add_subdirectory(test)
+
enable_testing()
+endif()