mirror of https://git.tukaani.org/xz.git
CMake: Add XZ_TOOL_XZ
This commit is contained in:
parent
6a3c4aaa43
commit
5600e370fb
|
@ -1818,7 +1818,9 @@ endif()
|
||||||
# xz
|
# xz
|
||||||
#############################################################################
|
#############################################################################
|
||||||
|
|
||||||
if(NOT MSVC OR MSVC_VERSION GREATER_EQUAL 1900)
|
option(XZ_TOOL_XZ "Build and install the xz command line tool" ON)
|
||||||
|
|
||||||
|
if(XZ_TOOL_XZ)
|
||||||
add_executable(xz
|
add_executable(xz
|
||||||
src/common/mythread.h
|
src/common/mythread.h
|
||||||
src/common/sysdefs.h
|
src/common/sysdefs.h
|
||||||
|
|
Loading…
Reference in New Issue