aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/liblzma/build-tools.patch
diff options
context:
space:
mode:
Diffstat (limited to 'vcpkg/ports/liblzma/build-tools.patch')
-rw-r--r--vcpkg/ports/liblzma/build-tools.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/vcpkg/ports/liblzma/build-tools.patch b/vcpkg/ports/liblzma/build-tools.patch
new file mode 100644
index 0000000..23fd0a1
--- /dev/null
+++ b/vcpkg/ports/liblzma/build-tools.patch
@@ -0,0 +1,22 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 32506cd..0fbd454 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1748,7 +1748,7 @@ function(my_install_man COMPONENT SRC_FILE LINK_NAMES)
+ endif()
+ endfunction()
+
+-
++if(BUILD_TOOLS)
+ #############################################################################
+ # libgnu (getopt_long)
+ #############################################################################
+@@ -2415,7 +2415,7 @@ xzdiff, xzgrep, xzmore, xzless, and their symlinks" ON)
+ src/scripts/xzless.1 "${XZLESS_LINKS}")
+ endif()
+ endif()
+-
++endif()
+
+ #############################################################################
+ # Documentation