CMake: Add XZ_TOOL_LZMAINFO

This commit is contained in:
Lasse Collin 2024-06-15 18:07:04 +03:00
parent 5600e370fb
commit def767f7d1
1 changed files with 3 additions and 1 deletions

View File

@ -1762,7 +1762,9 @@ endif()
# lzmainfo # 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 add_executable(lzmainfo
src/common/sysdefs.h src/common/sysdefs.h
src/common/tuklib_common.h src/common/tuklib_common.h