[Bf-blender-cvs] [dfca1e1] master: CMake: disable QuickTime with macOS SDK 10.12+, no longer supported by Apple.

Brecht Van Lommel noreply at git.blender.org
Sun Dec 4 20:28:32 CET 2016


Commit: dfca1e14605f4318c8e20acead4a06c38d3d435b
Author: Brecht Van Lommel
Date:   Sun Dec 4 20:23:55 2016 +0100
Branches: master
https://developer.blender.org/rBdfca1e14605f4318c8e20acead4a06c38d3d435b

CMake: disable QuickTime with macOS SDK 10.12+, no longer supported by Apple.

===================================================================

M	CMakeLists.txt

===================================================================

diff --git a/CMakeLists.txt b/CMakeLists.txt
index afc1d9d..8055f4f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -628,6 +628,12 @@ if(APPLE)
 			# to silence sdk not found warning, just overrides CMAKE_OSX_SYSROOT
 			set(CMAKE_XCODE_ATTRIBUTE_SDKROOT macosx${OSX_SYSTEM})
 		endif()
+
+		# QuickTime framework is no longer available in SDK 10.12+
+		if(WITH_CODEC_QUICKTIME AND ${OSX_SYSTEM} VERSION_GREATER 10.11)
+			set(WITH_CODEC_QUICKTIME OFF)
+			message(STATUS "QuickTime not supported by SDK ${OSX_SYSTEM}, disabling WITH_CODEC_QUICKTIME")
+		endif()
 	endif()
 
 	if(OSX_SYSTEM MATCHES 10.9)




More information about the Bf-blender-cvs mailing list