aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/liblzma/build-tools.patch
blob: 23fd0a1a6d3373405f84b3c5cc992b01ea93e6d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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