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