Skip to content

Commit

Permalink
Only use ALSA on Linux (#628)
Browse files Browse the repository at this point in the history
  • Loading branch information
AMDmi3 committed Aug 18, 2021
1 parent 84894eb commit 6e66e3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion audio/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if(WIN32)
endif()

# Add RtMidi dependencies on Linux
if(UNIX AND NOT APPLE)
if(CMAKE_SYSTEM_NAME MATCHES "Linux")
add_definitions(-D__LINUX_ALSA__)
find_package(ALSA)
set(RTMIDI_DEPENDENCIES ${ALSA_LIBRARY} pthread)
Expand Down

0 comments on commit 6e66e3f

Please sign in to comment.