[ZLIB]
authorPierre Schweitzer <pierre@reactos.org>
Sun, 4 Sep 2016 15:11:26 +0000 (15:11 +0000)
committerPierre Schweitzer <pierre@reactos.org>
Sun, 4 Sep 2016 15:11:26 +0000 (15:11 +0000)
When building zlib, only build portable functions so that we have a portable library.

CORE-11937

svn path=/trunk/; revision=72574

reactos/sdk/lib/3rdparty/zlib/CMakeLists.txt

index 72468cd..759aa7f 100644 (file)
@@ -1,5 +1,5 @@
 
 
-add_definitions(-DNO_VIZ)
+add_definitions(-DNO_VIZ -DZ_SOLO)
 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/zlib)
 
 list(APPEND SOURCE
 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/zlib)
 
 list(APPEND SOURCE
@@ -7,10 +7,6 @@ list(APPEND SOURCE
     compress.c
     crc32.c
     deflate.c
     compress.c
     crc32.c
     deflate.c
-    gzclose.c
-    gzlib.c
-    gzread.c
-    gzwrite.c
     infback.c
     inffast.c
     inflate.c
     infback.c
     inffast.c
     inflate.c