Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'build_files')
-rw-r--r--build_files/cmake/platform/platform_apple.cmake22
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 962033c32bc..d529fbb9d92 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)