Fix linking against MoltenVK (#880)

Starting from version 0.19.0 MoltenVK depends on IOSurface.framework
This commit is contained in:
jansol 2017-11-17 13:41:02 +02:00 committed by tomaka
parent c16e4d81b2
commit 0ae08dceec
2 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,7 @@
- Allow depth/stencil images to be used with `AutoCommandBufferBuilder::copy_image_to_buffer()`
- Clear value validation for `AutoCommandBufferBuilder::begin_render_pass()`
- Fix occasional truncation of glslang_validator when glsl-to-spirv is rebuilt
- Fix linking against MoltenVK >= 0.19.0
# Version 0.7.2 (2017-10-09)

View File

@ -14,6 +14,7 @@ fn main() {
if target.contains("apple-darwin") {
println!("cargo:rustc-link-lib=c++");
println!("cargo:rustc-link-lib=framework=MoltenVK");
println!("cargo:rustc-link-lib=framework=IOSurface");
println!("cargo:rustc-link-lib=framework=QuartzCore");
println!("cargo:rustc-link-lib=framework=Metal");
println!("cargo:rustc-link-lib=framework=Foundation");