From: Thomas Faber Date: Sun, 5 Feb 2017 09:42:43 +0000 (+0000) Subject: [ZLIBHOST] X-Git-Tag: ReactOS-0.4.4-CLT2017~387 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=719936a2f1a427b1fd1b607dfdd0b9e6b873d3c8 [ZLIBHOST] - We only need the minimal Z_SOLO functionality. Avoids some compiler warnings. svn path=/trunk/; revision=73695 --- diff --git a/reactos/sdk/lib/3rdparty/zlib/CMakeLists.txt b/reactos/sdk/lib/3rdparty/zlib/CMakeLists.txt index 6685a76683e..b8b20612649 100644 --- a/reactos/sdk/lib/3rdparty/zlib/CMakeLists.txt +++ b/reactos/sdk/lib/3rdparty/zlib/CMakeLists.txt @@ -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()