From 0f6b81fd2e91e3d1e866e2d166be49665cc70828 Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Tue, 9 Oct 2018 22:50:54 +0300 Subject: VLC Plugin: link libgcc and libstdc++ statically for a test --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 60237a2..7fbd347 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -536,6 +536,9 @@ if(WITH_VLC_PLUGIN) add_dependencies(adlmidi_vlc_plugin ADLMIDI_static) endif() + if(WIN32) + target_link_libraries(adlmidi_vlc_plugin PUBLIC -static-libgcc -static-libstdc++) + endif() endif() if(WITH_HQ_RESAMPLER) -- cgit v1.2.3