From b30d2bab570820944bf30d486d07ef690ce1cc9f Mon Sep 17 00:00:00 2001 From: Azdul Date: Wed, 16 Jan 2019 20:47:59 +0100 Subject: [PATCH] Zlib only for Win32 --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1c54376c8c..0b828348b7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -296,9 +296,9 @@ if(QT_STATIC) endif() -set(BOOST_COMPONENTS system filesystem program_options iostreams zlib) +set(BOOST_COMPONENTS system filesystem program_options iostreams) if(WIN32) - set(BOOST_COMPONENTS ${BOOST_COMPONENTS} locale) + set(BOOST_COMPONENTS ${BOOST_COMPONENTS} locale zlib) endif(WIN32) IF(BOOST_STATIC)