$NetBSD: patch-CMakeLists.txt,v 1.3 2024/04/05 10:26:04 wiz Exp $ Allow building ALSA support on more systems. --- CMakeLists.txt.orig 2024-03-26 17:52:36.000000000 +0000 +++ CMakeLists.txt @@ -101,10 +101,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)" off ) option ( enable-alsa "compile ALSA support (if it is available)" on ) -endif ( CMAKE_SYSTEM MATCHES "Linux|FreeBSD|DragonFly" ) +endif ( ) if ( CMAKE_SYSTEM MATCHES "Linux" ) option ( enable-systemd "compile systemd support (if it is available)" on )