diff options
author | Vitaly Novichkov <admin@wohlnet.ru> | 2018-10-09 23:51:24 +0300 |
---|---|---|
committer | Vitaly Novichkov <admin@wohlnet.ru> | 2018-10-09 23:51:24 +0300 |
commit | fcd33ce66f3dcea112b41bdc7cee9401f647b3b1 (patch) | |
tree | 9c0842fb4990ae245953c0545ab159e1d443ddef | |
parent | 747cc54c2164d0e194f21cddb367f92a67da0207 (diff) | |
download | libADLMIDI-fcd33ce66f3dcea112b41bdc7cee9401f647b3b1.tar.gz libADLMIDI-fcd33ce66f3dcea112b41bdc7cee9401f647b3b1.tar.bz2 libADLMIDI-fcd33ce66f3dcea112b41bdc7cee9401f647b3b1.zip |
pthread, not winpthread
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a342d3b..a9e7351 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -306,7 +306,7 @@ if(libADLMIDI_SHARED) target_compile_definitions(ADLMIDI_shared PRIVATE "-DADLMIDI_BUILD_DLL") if(CMAKE_COMPILER_IS_GNUCXX) set_property(TARGET ADLMIDI_shared APPEND_STRING PROPERTY LINK_FLAGS " -static-libgcc -static-libstdc++") - set_property(TARGET ADLMIDI_shared APPEND_STRING PROPERTY LINK_FLAGS " -Wl,-Bstatic,--whole-archive -lwinpthread -Wl,-Bdynamic,--no-whole-archive") + set_property(TARGET ADLMIDI_shared APPEND_STRING PROPERTY LINK_FLAGS " -Wl,-Bstatic,--whole-archive -lpthread -Wl,-Bdynamic,--no-whole-archive") endif() endif() if(WITH_EMBEDDED_BANKS AND WITH_GENADLDATA) @@ -529,7 +529,7 @@ if(WITH_VLC_PLUGIN) if(CMAKE_SYSTEM_NAME STREQUAL "Windows" AND CMAKE_COMPILER_IS_GNUCXX) set_property(TARGET adlmidi_vlc_plugin APPEND_STRING PROPERTY LINK_FLAGS " -static-libgcc -static-libstdc++") - set_property(TARGET adlmidi_vlc_plugin APPEND_STRING PROPERTY LINK_FLAGS " -Wl,-Bstatic,--whole-archive -lwinpthread -Wl,-Bdynamic,--no-whole-archive") + set_property(TARGET adlmidi_vlc_plugin APPEND_STRING PROPERTY LINK_FLAGS " -Wl,-Bstatic,--whole-archive -lpthread -Wl,-Bdynamic,--no-whole-archive") elseif(NOT WIN32) list(APPEND ADLMIDIVLC_LIBS stdc++) endif() |