diff options
Diffstat (limited to 'build_files')
-rw-r--r-- | build_files/cmake/platform/platform_apple.cmake | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/build_files/cmake/platform/platform_apple.cmake b/build_files/cmake/platform/platform_apple.cmake index e20be34df3f..084426b8572 100644 --- a/build_files/cmake/platform/platform_apple.cmake +++ b/build_files/cmake/platform/platform_apple.cmake @@ -60,6 +60,17 @@ if(WITH_OPENAL) endif() endif() +if(WITH_JACK) + find_library(JACK_FRAMEWORK + NAMES jackmp + ) + if(NOT JACK_FRAMEWORK) + set(WITH_JACK OFF) + else() + set(JACK_INCLUDE_DIRS ${JACK_FRAMEWORK}/headers) + endif() +endif() + if(NOT DEFINED LIBDIR) set(LIBDIR ${CMAKE_SOURCE_DIR}/../lib/darwin) # Prefer lib directory paths @@ -94,17 +105,6 @@ if(WITH_OPENSUBDIV) find_package(OpenSubdiv) endif() -if(WITH_JACK) - find_library(JACK_FRAMEWORK - NAMES jackmp - ) - if(NOT JACK_FRAMEWORK) - set(WITH_JACK OFF) - else() - set(JACK_INCLUDE_DIRS ${JACK_FRAMEWORK}/headers) - endif() -endif() - if(WITH_CODEC_SNDFILE) find_package(SndFile) find_library(_sndfile_FLAC_LIBRARY NAMES flac HINTS ${LIBDIR}/sndfile/lib) |