diff --git a/CMakeLists.txt b/CMakeLists.txt index 0f00af0f..6da5fa52 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -164,8 +164,9 @@ foreach(lang IN LISTS LangTargets) target_link_libraries(${Executable} PUBLIC ${VeryBadLib}) endforeach() - # only SGP depends on these + # for SGP only target_link_libraries(${Executable}_SGP PRIVATE "ddraw.lib" "${PROJECT_SOURCE_DIR}/fmodvc.lib") target_link_libraries(${Executable}_SGP PUBLIC libpng) + target_compile_definitions(${Executable}_SGP PRIVATE NO_ZLIB_COMPRESSION) endforeach() endforeach()