$NetBSD: patch-CMakeLists.txt,v 1.2 2021/11/28 10:43:42 wiz Exp $ Allow building ALSA support on more systems. --- CMakeLists.txt.orig 2021-11-21 15:40:48.000000000 +0000 +++ CMakeLists.txt @@ -93,10 +93,10 @@ option ( enable-threads "enable multi-th option ( enable-openmp "enable OpenMP support (parallelization of soundfont decoding, vectorization of voice mixing, etc.)" on ) # Platform specific options -if ( CMAKE_SYSTEM MATCHES "Linux|FreeBSD|DragonFly" ) +if ( TRUE ) option ( enable-lash "compile LASH support (if it is available)" on ) option ( enable-alsa "compile ALSA support (if it is available)" on ) -endif ( CMAKE_SYSTEM MATCHES "Linux|FreeBSD|DragonFly" ) +endif ( TRUE ) if ( CMAKE_SYSTEM MATCHES "Linux" ) option ( enable-systemd "compile systemd support (if it is available)" on )