From edd563daf0da1d00018684614803c77ab62efcd6 Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Thu, 21 Sep 2023 19:17:40 +0300 Subject: [PATCH] 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. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d2fe35df..13ff7b1c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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