Skip to content

Commit

Permalink
Do not link against asound on OpenBSD
Browse files Browse the repository at this point in the history
There is no ALSA port for this system.
  • Loading branch information
klemensn authored and Gargaj committed Jul 9, 2022
1 parent 1514efe commit 2fe2602
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,10 @@ else ()
set(BZC_PROJECT_LIBS ${BZC_PROJECT_LIBS} Threads::Threads)
endif ()

set(PLATFORM_LIBS GL asound fontconfig)
set(PLATFORM_LIBS GL fontconfig)
if (NOT "${CMAKE_SYSTEM_NAME}" STREQUAL "OpenBSD")
list(APPEND PLATFORM_LIBS asound)
endif ()
endif ()

##############################################################################
Expand Down

0 comments on commit 2fe2602

Please sign in to comment.