From 044cd81ce6cf4ef6c15bec933166a66a4528bc29 Mon Sep 17 00:00:00 2001 From: Codecat Date: Sat, 14 Jul 2018 12:34:03 +0200 Subject: [PATCH] Fix wrong conditions --- contrib/premake/zstd.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/premake/zstd.lua b/contrib/premake/zstd.lua index 0f7fc558..df1ace3e 100644 --- a/contrib/premake/zstd.lua +++ b/contrib/premake/zstd.lua @@ -9,12 +9,12 @@ function project_zstd(dir, compression, decompression, deprecated, dictbuilder, if legacy == nil then legacy = 0 end - if compression then + if not compression then dictbuilder = false deprecated = false end - if decompression then + if not decompression then legacy = 0 deprecated = false end