diff --git a/core/zip/CMakeLists.txt b/core/zip/CMakeLists.txt
index ed2b746ff318671c8fb8c1a4fcbafd2455980cab..9090198bf1281b74efbc8f0d9b327c94342da3f0 100644
--- a/core/zip/CMakeLists.txt
+++ b/core/zip/CMakeLists.txt
@@ -21,7 +21,7 @@ Set(ZipOldSource
 
 # Depending on the system either the old and the new
 # or only the old compression is build
-if(MSVC AND builtin_zlib)
+if(builtin_zlib)
   set(ZLIB_HEADERS ${ZipNewHeaders} ${ZipOldHeaders})
 else()
   set(ZLIB_HEADERS ${ZipOldHeaders})