From d4ca6f8a4390b5108a65ae7a60a5ee47118d3e2a Mon Sep 17 00:00:00 2001 From: Gareth Francis Date: Sun, 30 Jun 2019 12:00:48 +0100 Subject: [PATCH] Fix selection logic for sound libraries HAS_XX is used elsewhere in the project to select optional sources, will only be true if the lib is available on the system, and the user asked to use it. --- StepmaniaCore.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/StepmaniaCore.cmake b/StepmaniaCore.cmake index 42052df288..fe8bd1e302 100644 --- a/StepmaniaCore.cmake +++ b/StepmaniaCore.cmake @@ -405,7 +405,7 @@ elseif(LINUX) set(HAS_OSS TRUE) endif() - if(NOT OSS_FOUND AND NOT JACK_FOUND AND NOT ALSA_FOUND AND NOT PULSE_FOUND) + if( NOT (HAS_OSS OR HAS_JACK OR HAS_ALSA OR HAS_PULSE) ) message( FATAL_ERROR "No sound libraries found (or selected). You will require at least one."