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
1 changed files with 1 additions and 1 deletions

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