diff options
author | Brecht Van Lommel <brecht@blender.org> | 2022-09-30 19:50:03 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2022-10-21 21:04:47 +0300 |
commit | ebe231969294924ff057f5d999d05986f9c97352 (patch) | |
tree | 0465650cceb3a262e1852e983b638dbd639d2fff /CMakeLists.txt | |
parent | 56d1f0772dd0e2b77abef1ad071e2e893cf3bc0a (diff) |
Build: disable JACK option in macOS releases
It has not actually been enabled there for a long time in official releases,
so this just fixes the warning. Making it work again would be good, but for
now JACK is only supported on Linux.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a3ea162d040..e922a3b059a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -336,11 +336,9 @@ if(APPLE) else() set(WITH_COREAUDIO OFF) endif() -if(NOT WIN32) +if(UNIX AND NOT APPLE) option(WITH_JACK "Enable JACK Support (http://www.jackaudio.org)" ON) - if(UNIX AND NOT APPLE) - option(WITH_JACK_DYNLOAD "Enable runtime dynamic JACK libraries loading" OFF) - endif() + option(WITH_JACK_DYNLOAD "Enable runtime dynamic JACK libraries loading" OFF) else() set(WITH_JACK OFF) endif() |