From 45a671c93adbdf2cb2b3ed56797b5ea63ef986b8 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Mon, 6 Dec 2010 10:42:29 +0100 Subject: [PATCH] ZynAddSubFX: link against -lws2_32 on Win32 Once more explicit linking is required with recent MinGW toolchains. (cherry picked from commit 1590dd0d39c3d58f450f01b781eb2ef92135dc73) --- plugins/zynaddsubfx/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/zynaddsubfx/CMakeLists.txt b/plugins/zynaddsubfx/CMakeLists.txt index 34f171032..93bde3bf9 100644 --- a/plugins/zynaddsubfx/CMakeLists.txt +++ b/plugins/zynaddsubfx/CMakeLists.txt @@ -105,7 +105,7 @@ ADD_DEPENDENCIES(RemoteZynAddSubFx ZynAddSubFxCore) # link system libraries when on win32 IF(LMMS_BUILD_WIN32) - TARGET_LINK_LIBRARIES(RemoteZynAddSubFx ${QT_LIBRARIES} -lole32 -luuid -lcomctl32 -lgdi32) + TARGET_LINK_LIBRARIES(RemoteZynAddSubFx ${QT_LIBRARIES} -lole32 -luuid -lcomctl32 -lgdi32 -lws2_32) ENDIF(LMMS_BUILD_WIN32) # FLTK needs X