From 8726ff4856c73fa4086b6fb69d93a5b575c6e062 Mon Sep 17 00:00:00 2001 From: scawful Date: Mon, 12 Aug 2024 10:29:09 -0400 Subject: [PATCH] update MINGW link libraries --- src/app/CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/app/CMakeLists.txt b/src/app/CMakeLists.txt index c71e5736..95f28538 100644 --- a/src/app/CMakeLists.txt +++ b/src/app/CMakeLists.txt @@ -39,4 +39,13 @@ target_link_libraries( if (APPLE) target_link_libraries(yaze PUBLIC ${COCOA_LIBRARY}) +endif() + +if (WIN32 OR MINGW) + target_link_libraries( + yaze PUBLIC + ${CMAKE_SOURCE_DIR}/build-windows/bin/libpng16.dll + zlib + mingw32 + ws2_32) endif() \ No newline at end of file