Merge branch 'master' into blender2.8
[blender.git] / CMakeLists.txt
index 4d2bcc4b0af8749f29c524b5ff9a8ffc36fc3068..2961aafe908fcf3f4667bfccb37e0a2eea2df732 100644 (file)
@@ -624,10 +624,12 @@ endif()
 
 if(NOT WITH_AUDASPACE)
        if(WITH_OPENAL)
-               message(FATAL_ERROR "WITH_OPENAL requires WITH_AUDASPACE")
+               message(WARNING "WITH_OPENAL requires WITH_AUDASPACE which is disabled")
+               set(WITH_OPENAL OFF)
        endif()
        if(WITH_JACK)
-               message(FATAL_ERROR "WITH_JACK requires WITH_AUDASPACE")
+               message(WARNING "WITH_JACK requires WITH_AUDASPACE which is disabled")
+               set(WITH_JACK OFF)
        endif()
 endif()