Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
ncnn defaults to static linkage on Darwin against MoltenVK, but static
libraries are not build by default for MoltenVK in nixpkgs, and it’s not
taken as a dependency anyway. Override this behavior by specifying
`Vulkan_LIBRARY` explicitly as `-lvulkan` on Darwin.
|
|
|
|
|
|
Fixes #192617. The breakage is introduced by a glslang update. Now
`${glslang}/lib/cmake/OSDependentTargets.cmake` points to
`${glslang}/share/glslang/glslang-targets.cmake`. The latter requires
the `SPIRV-Tools-opt` target. So the two lines in patch should be moved
before `OSDependentTargets.cmake`.
This also fixes a breakage introduced by cmake described in #144170.
|
|
|
|
|
|
|
|
|
|
ncnn: Enable vulkan support
|