Skip to content

Commit

Permalink
fix the ALSA compile flag
Browse files Browse the repository at this point in the history
  • Loading branch information
swang251 committed Oct 23, 2021
1 parent feb123c commit ee7a1a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ if(REALTIME)
if(ALSA_FOUND)
include_directories(${ALSA_INCLUDE_DIRS})
link_libraries(${ALSA_LIBRARIES})
add_definitions(__LINUX_ALSA__)
add_definitions(-D__LINUX_ALSA__)
endif()
endif()
elseif(${CMAKE_SYSTEM_NAME} STREQUAL Darwin)
Expand Down

0 comments on commit ee7a1a3

Please sign in to comment.