Link to zlib only on macos

This commit is contained in:
kynex7510 2024-05-31 14:22:41 +02:00
parent b9edb00f7c
commit a203a11b05
No known key found for this signature in database
GPG key ID: 2BFE7F696DF44E71

View file

@ -261,7 +261,12 @@ if (NOT GEODE_BUILDING_DOCS)
target_link_libraries(${PROJECT_NAME} md4c re2 minizip)
endif()
target_link_libraries(${PROJECT_NAME} z TulipHook geode-sdk mat-json-impl)
target_link_libraries(${PROJECT_NAME} TulipHook geode-sdk mat-json-impl)
# Required by curl for macos
if (APPLE)
target_link_libraries(${PROJECT_NAME} z)
endif()
if (MSVC)
# Disable outputting .exp file