Commit 92ebf24
CMake: copy grok_kernels.metallib to bin/ for Metal GPU plugin
When building with GRK_BUILD_PLUGIN_LOADER=ON on macOS, the Metal shader
library is compiled to extern/grok-gpu-plugin/ but the plugin looks for it
next to its own dylib in bin/. Add a copy_metallib target that automatically
copies the .metallib to CMAKE_LIBRARY_OUTPUT_DIRECTORY after the Metal
shaders are linked.1 parent e366f55 commit 92ebf24
1 file changed
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
272 | 272 | | |
273 | 273 | | |
274 | 274 | | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
275 | 288 | | |
276 | 289 | | |
277 | 290 | | |
| |||
0 commit comments