From d11bb247b34b9002b9b0949644c8d30f4388f205 Mon Sep 17 00:00:00 2001 From: Jonathan White Date: Thu, 10 Jan 2019 07:57:13 -0700 Subject: [PATCH] Simplify CMakeLists --- CMakeLists.txt | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 39cb4b904..7b2ea7d12 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -364,14 +364,11 @@ include_directories(SYSTEM ${ARGON2_INCLUDE_DIR}) # Optional if(WITH_XC_KEESHARE) - # ZLIB is needed and already required + set(WITH_XC_KEESHARE_INSECURE ON) if(WITH_XC_KEESHARE_SECURE) + # ZLIB is needed and already required find_package(QuaZip REQUIRED) - set(WITH_XC_KEESHARE_INSECURE ON) - set(WITH_XC_KEESHARE_SECURE ON) include_directories(SYSTEM ${QUAZIP_INCLUDE_DIR}) - else() - set(WITH_XC_KEESHARE_INSECURE ON) endif() else() set(WITH_XC_KEESHARE_INSECURE OFF)