diff options
-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) |