KhronosGroup / MoltenVK

MoltenVK is a Vulkan Portability implementation. It layers a subset of the high-performance, industry-standard Vulkan graphics and compute API over Apple's Metal graphics framework, enabling Vulkan applications to run on macOS, iOS and tvOS.
Apache License 2.0
4.84k stars 429 forks source link

how to use moletenvk in cmake???? #1581

Open luohao123 opened 2 years ago

luohao123 commented 2 years ago

I have installed vulkan sdk whichi also contains moletenvk inside, I want using cmake to find it, how to?

billhollings commented 2 years ago

If you are using the Vulkan SDK, including the Loader and Layers frameworks, please check the SDK documentation, or post your question to the SDK issue list.

If you want to link to MoltenVK directly, you can link directly to either the MoltenVK.xcframework framework, or platform libMoltenVK.dylib file found in the MoltenVK directory in the Vulkan SDK distribution.