1
0
Fork 0
mirror of https://git.tukaani.org/xz.git synced 2024-04-04 12:36:23 +02:00

CMake: Require VS2015 or later for building xzdec.

xzdec might build with VS2013 but it hasn't been tested.
It was never supported before and VS2013 is old anyway
so for simplicity only liblzma is supported with VS2013.
This commit is contained in:
Lasse Collin 2023-09-21 19:17:40 +03:00
parent daea64d158
commit edd563daf0

View file

@ -1035,7 +1035,7 @@ endif()
# xzdec
#############################################################################
if(HAVE_DECODERS)
if(HAVE_DECODERS AND (NOT MSVC OR MSVC_VERSION GREATER_EQUAL 1900))
add_executable(xzdec
src/common/sysdefs.h
src/common/tuklib_common.h