diff options
author | Wohlstand <admin@wohlnet.ru> | 2017-11-07 17:36:48 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2017-11-07 17:36:48 +0300 |
commit | 7ff6d5ee9d0049f165ff6d2792855b81873da5b9 (patch) | |
tree | b762425aa84f42f182889fcb470c9152126dbf63 | |
parent | c2922fbba2725817ff910be099425cb5b04f410a (diff) | |
download | libADLMIDI-7ff6d5ee9d0049f165ff6d2792855b81873da5b9.tar.gz libADLMIDI-7ff6d5ee9d0049f165ff6d2792855b81873da5b9.tar.bz2 libADLMIDI-7ff6d5ee9d0049f165ff6d2792855b81873da5b9.zip |
Fix linking on some computers
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3be77fb..9b4a09b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -178,7 +178,7 @@ if(WITH_MIDIPLAY) target_link_libraries(adlmidiplay ADLMIDI ${SDL2_LIBRARY} pthread) endif() else() - target_link_libraries(adlmidiplay ADLMIDI ${SDL2_LIBRARY} pthread dl) + target_link_libraries(adlmidiplay ADLMIDI ${SDL2_LIBRARY} pthread dl m stdc++) endif() if(libADLMIDI_SHARED) @@ -211,7 +211,7 @@ if(WITH_ADLMIDI2) target_link_libraries(adlmidi2 ADLMIDI ${SDL2_LIBRARY} pthread) endif() else() - target_link_libraries(adlmidi2 ADLMIDI ${SDL2_LIBRARY} pthread dl) + target_link_libraries(adlmidi2 ADLMIDI ${SDL2_LIBRARY} pthread dl m stdc++) endif() if(NOT WITH_CPP_EXTRAS) |