diff --git a/mauplay/CMakeLists.txt b/mauplay/CMakeLists.txt index 5d79220..2653c12 100644 --- a/mauplay/CMakeLists.txt +++ b/mauplay/CMakeLists.txt @@ -11,3 +11,11 @@ target_link_libraries( PRIVATE MDEAudio MDESound ) + +if(NOT CMAKE_SYSTEM_NAME STREQUAL "Windows") + target_link_libraries( + mauplay + PRIVATE + m + ) +endif()