[ZLIBHOST]
authorThomas Faber <thomas.faber@reactos.org>
Sun, 5 Feb 2017 09:42:43 +0000 (09:42 +0000)
committerThomas Faber <thomas.faber@reactos.org>
Sun, 5 Feb 2017 09:42:43 +0000 (09:42 +0000)
- We only need the minimal Z_SOLO functionality. Avoids some compiler warnings.

svn path=/trunk/; revision=73695

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

index 6685a76..b8b2061 100644 (file)
@@ -26,5 +26,6 @@ if(CMAKE_CROSSCOMPILING)
     add_library(zlib_solo ${SOLO_SOURCE})
     add_target_compile_definitions(zlib_solo Z_SOLO)
 else()
-    add_library(zlibhost ${SOURCE} ${SOLO_SOURCE})
+    add_library(zlibhost ${SOLO_SOURCE})
+    add_target_compile_definitions(zlibhost Z_SOLO)
 endif()