2022-05-18 07:53:40 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2023-01-05 21:01:34 +08:00
|
|
|
index 03b8301..820d08e 100644
|
2022-05-18 07:53:40 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2023-01-05 21:01:34 +08:00
|
|
|
@@ -584,6 +584,7 @@ install(FILES "${CMAKE_CURRENT_BINARY_DIR}/liblzma-config.cmake"
|
2022-05-18 07:53:40 +08:00
|
|
|
COMPONENT liblzma_Development)
|
|
|
|
|
|
|
|
|
|
|
|
+if(BUILD_TOOLS)
|
|
|
|
#############################################################################
|
|
|
|
# getopt_long
|
|
|
|
#############################################################################
|
2023-01-05 21:01:34 +08:00
|
|
|
@@ -793,6 +794,7 @@ if(NOT MSVC AND HAVE_GETOPT_LONG)
|
|
|
|
endforeach()
|
|
|
|
endif()
|
2022-05-18 07:53:40 +08:00
|
|
|
endif()
|
|
|
|
+endif()
|
2023-01-05 21:01:34 +08:00
|
|
|
|
|
|
|
|
|
|
|
#############################################################################
|