build_environment: Fixed `make deps` on macOS
[blender.git] / build_files / build_environment / cmake / options.cmake
index 20e9750bed6b4c56ea8815f33230afb0399b4d5f..ac36c89197628e16ae193e90dd131201eee3ca00 100644 (file)
@@ -127,8 +127,7 @@ else()
                )
                set(OSX_ARCHITECTURES x86_64)
                set(OSX_DEPLOYMENT_TARGET 10.9)
-               set(OSX_SDK_VERSION 10.13)
-               set(OSX_SYSROOT ${XCODE_DEV_PATH}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX${OSX_SDK_VERSION}.sdk)
+               set(OSX_SYSROOT ${XCODE_DEV_PATH}/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk)
 
                set(PLATFORM_CFLAGS "-isysroot ${OSX_SYSROOT} -mmacosx-version-min=${OSX_DEPLOYMENT_TARGET}")
                set(PLATFORM_CXXFLAGS "-isysroot ${OSX_SYSROOT} -mmacosx-version-min=${OSX_DEPLOYMENT_TARGET} -std=c++11 -stdlib=libc++")