From def767f7d18ccbd81cd5e5b46c8b6031f3a1de34 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Sat, 15 Jun 2024 18:07:04 +0300 Subject: [PATCH] CMake: Add XZ_TOOL_LZMAINFO --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7c6d9003..e3592412 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1762,7 +1762,9 @@ endif() # lzmainfo ############################################################################# -if(HAVE_DECODERS) +option(XZ_TOOL_LZMAINFO "Build and install the lzmainfo command line tool" ON) + +if(XZ_TOOL_LZMAINFO AND HAVE_DECODERS) add_executable(lzmainfo src/common/sysdefs.h src/common/tuklib_common.h