aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2018-10-09 22:50:54 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2018-10-09 22:50:54 +0300
commit0f6b81fd2e91e3d1e866e2d166be49665cc70828 (patch)
tree3aeab1aafb916df7d2bb8066a37288d1a668716c
parente654180a0e0adb3394011deae5e6911887ba53bb (diff)
downloadlibADLMIDI-0f6b81fd2e91e3d1e866e2d166be49665cc70828.tar.gz
libADLMIDI-0f6b81fd2e91e3d1e866e2d166be49665cc70828.tar.bz2
libADLMIDI-0f6b81fd2e91e3d1e866e2d166be49665cc70828.zip
VLC Plugin: link libgcc and libstdc++ statically for a test
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
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)