1
0
mirror of https://github.com/madler/zlib synced 2025-03-28 21:13:15 +00:00

CMake: Add zlib1.rc to Cygwin build.

This commit is contained in:
Vollstrecker 2024-12-02 15:08:19 +01:00 committed by Mark Adler
parent 48b9ee48ca
commit 633ec87677

View File

@ -93,7 +93,7 @@ if(ZLIB_BUILD_SHARED)
${ZLIB_DLL_SRCS}
${ZLIB_PUBLIC_HDRS}
${ZLIB_PRIVATE_HDRS}
$<$<BOOL:${WIN32}>:win32/zlib1.rc>)
$<$<OR:$<BOOL:${WIN32}>,$<BOOL:${CYGWIN}>>:win32/zlib1.rc>)
target_include_directories(zlib PUBLIC
$<BUILD_INTERFACE:${zlib_BINARY_DIR}>
$<BUILD_INTERFACE:${zlib_SOURCE_DIR}>)