macOS build need platform version, same as xcode build

This commit is contained in:
junjie020
2019-10-24 11:34:08 +08:00
committed by Бранимир Караџић
parent 4bcb2c4fb3
commit 741d11e7a4

View File

@@ -1037,6 +1037,7 @@ function toolchain(_buildDir, _libDir)
"-msse2",
"-Wunused-value",
"-Wundef",
"-target x86_64-apple-macos" .. (#macosPlatform > 0 and macosPlatform or "10.11"),
}
includedirs { path.join(bxDir, "include/compat/osx") }