mirror of
https://git.tukaani.org/xz.git
synced 2024-04-04 12:36:23 +02:00
CMake: Only build xzdec if decoders are enabled.
This commit is contained in:
parent
c99d697df8
commit
ba176d77cb
1 changed files with 1 additions and 1 deletions
|
@ -887,7 +887,7 @@ check_symbol_exists(getopt_long getopt.h HAVE_GETOPT_LONG)
|
||||||
# xzdec
|
# xzdec
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
if(HAVE_GETOPT_LONG)
|
if(HAVE_GETOPT_LONG AND HAVE_DECODERS)
|
||||||
add_executable(xzdec
|
add_executable(xzdec
|
||||||
src/common/sysdefs.h
|
src/common/sysdefs.h
|
||||||
src/common/tuklib_common.h
|
src/common/tuklib_common.h
|
||||||
|
|
Loading…
Reference in a new issue