diff --git a/deps/zlib.cmake b/deps/zlib.cmake index 03cd234b..d2a2b323 100644 --- a/deps/zlib.cmake +++ b/deps/zlib.cmake @@ -4,9 +4,6 @@ target_compile_definitions(zlibstatic PUBLIC ZLIB_CONST=1) target_include_directories(zlibstatic PUBLIC ${zlib_SOURCE_DIR} ${zlib_BINARY_DIR}) if (TARGET zlib) - # Remove all properties and dependencies from the zlib shared lib target - # (this will keep the zlibstatic target) set_target_properties(zlib PROPERTIES EXCLUDE_FROM_ALL TRUE) set_target_properties(zlib PROPERTIES EXCLUDE_FROM_DEFAULT_BUILD TRUE) - message(STATUS "Target 'zlib' has been disabled.") endif()