Disable looking for ALSA in OpenBSD

• Dec 23, 2014 - 19:26
Type
Functional
Severity
S4 - Minor
Status
active
Project

(MS 2.0b2, OpenBSD)

In mscore/CMakeLists.txt, the following is present:

if (${CMAKE_SYSTEM} MATCHES "GNU-0.3")
# include some cmake support file
INCLUDE (Platform/GNU)
set ( USE_ALSA 0 )
set ( USE_PORTMIDI 0 )
endif (${CMAKE_SYSTEM} MATCHES "GNU-0.3")

if (${CMAKE_SYSTEM} MATCHES "kFreeBSD")
# include some cmake support file
INCLUDE (Platform/kFreeBSD)
set ( USE_ALSA 0 )
set ( USE_PORTMIDI 0 )
endif (${CMAKE_SYSTEM} MATCHES "kFreeBSD")

---

It would be nice if OpenBSD had a similar tweak, since it also does not have ALSA. Currently, I have to awkwardly patch out ALSA.