mirror of https://git.tukaani.org/xz.git
CMake: Only build xzdec if decoders are enabled.
This commit is contained in:
parent
116e81f002
commit
ddfe164368
|
@ -887,7 +887,7 @@ check_symbol_exists(getopt_long getopt.h HAVE_GETOPT_LONG)
|
|||
# xzdec
|
||||
#############################################################################
|
||||
|
||||
if(HAVE_GETOPT_LONG)
|
||||
if(HAVE_GETOPT_LONG AND HAVE_DECODERS)
|
||||
add_executable(xzdec
|
||||
src/common/sysdefs.h
|
||||
src/common/tuklib_common.h
|
||||
|
|
Loading…
Reference in New Issue