From fb68cd346e25d5c3a57925f4314b68485b31fe0b Mon Sep 17 00:00:00 2001 From: Adeel Mujahid <3840695+am11@users.noreply.github.com> Date: Tue, 23 Jul 2024 23:29:23 +0300 Subject: [PATCH 1/2] Update extra_libs.cmake --- src/native/libs/System.IO.Compression.Native/extra_libs.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/native/libs/System.IO.Compression.Native/extra_libs.cmake b/src/native/libs/System.IO.Compression.Native/extra_libs.cmake index 589cf5a79ad78..76945ce33f9bd 100644 --- a/src/native/libs/System.IO.Compression.Native/extra_libs.cmake +++ b/src/native/libs/System.IO.Compression.Native/extra_libs.cmake @@ -16,7 +16,7 @@ macro(append_extra_compression_libs NativeLibsExtra) # 'zlib' represents our in-tree zlib, and is used in all other platforms # that don't meet any of the previous special requirements, like most # regular Unix and Windows builds. - list(APPEND ZLIB_LIBRARIES $,z,zlib>) + list(APPEND ZLIB_LIBRARIES $<$>:z:zlib>) endif () list(APPEND ${NativeLibsExtra} ${ZLIB_LIBRARIES}) From e1c6a8673b1985a8ae55640c3418ef696af6433e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20S=C3=A1nchez=20L=C3=B3pez?= <1175054+carlossanlop@users.noreply.github.com> Date: Tue, 23 Jul 2024 14:00:34 -0700 Subject: [PATCH 2/2] Apply alternate suggestion --- src/native/libs/System.IO.Compression.Native/extra_libs.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/native/libs/System.IO.Compression.Native/extra_libs.cmake b/src/native/libs/System.IO.Compression.Native/extra_libs.cmake index 76945ce33f9bd..03b40533e2109 100644 --- a/src/native/libs/System.IO.Compression.Native/extra_libs.cmake +++ b/src/native/libs/System.IO.Compression.Native/extra_libs.cmake @@ -16,7 +16,7 @@ macro(append_extra_compression_libs NativeLibsExtra) # 'zlib' represents our in-tree zlib, and is used in all other platforms # that don't meet any of the previous special requirements, like most # regular Unix and Windows builds. - list(APPEND ZLIB_LIBRARIES $<$>:z:zlib>) + list(APPEND ZLIB_LIBRARIES $,z,zlib>) endif () list(APPEND ${NativeLibsExtra} ${ZLIB_LIBRARIES})