diff --git a/build.gradle b/build.gradle index e423a4cf8b3..9b1a89fd284 100644 --- a/build.gradle +++ b/build.gradle @@ -33,7 +33,7 @@ allprojects { } else { ext.targetArgs << ["host": - ["--sysroot=$hostSysrootDir"], + ["--sysroot=$hostSysrootDir", "-mmacosx-version-min=$minMacOsVersion"], "iphone": ["-stdlib=libc++", "-arch", "arm64", "-isysroot", "$iphoneSysrootDir"], // TODO: re-enable after simulator sysroot is available in the dependencies diff --git a/gradle.properties b/gradle.properties index c200f5373e4..85c982c0eff 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,5 @@ kotlin_version=1.1-M03 llvmVersion = 3.9.0 +minMacOsVersion = 10.10 #kotlinCompilerModule=org.jetbrains.kotlin:kotlin-compiler:1.1-SNAPSHOT -kotlinCompilerModule=org.jetbrains.kotlin:kotlin-compiler:1.1-20170217.175209-427 \ No newline at end of file +kotlinCompilerModule=org.jetbrains.kotlin:kotlin-compiler:1.1-20170217.175209-427