Build: add back WITH_JACK option on macOS, but disabled by default

Jack has not been installed on the buildbot builders for a long time and so
should not be enabled by default to pass strict build options added in D16104.

However for those doing custom builds the option should remain available.
This commit is contained in:
Brecht Van Lommel 2022-11-14 19:14:49 +01:00
parent 1a1341c387
commit 841460afce
1 changed files with 6 additions and 2 deletions

View File

@ -345,8 +345,12 @@ if(APPLE)
else()
set(WITH_COREAUDIO OFF)
endif()
if(UNIX AND NOT APPLE)
option(WITH_JACK "Enable JACK Support (http://www.jackaudio.org)" ON)
if(NOT WIN32)
if(APPLE)
option(WITH_JACK "Enable JACK Support (http://www.jackaudio.org)" OFF)
else()
option(WITH_JACK "Enable JACK Support (http://www.jackaudio.org)" ON)
endif()
option(WITH_JACK_DYNLOAD "Enable runtime dynamic JACK libraries loading" OFF)
else()
set(WITH_JACK OFF)