Skip to content

Commit

Permalink
Merge pull request stepmania#1843 from geefr/cmake-fix-audiolib-selec…
Browse files Browse the repository at this point in the history
…tion

CMake: Fix selection logic for sound libraries
  • Loading branch information
quietly-turning authored Jun 30, 2019
2 parents c9198db + d4ca6f8 commit 38b97f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion StepmaniaCore.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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."
Expand Down

0 comments on commit 38b97f4

Please sign in to comment.