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.
This commit is contained in:
+1
-1
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user