mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-13 10:51:35 +00:00
When the libdawn_native target was renamed to dawn_native, the output library name stayed the same (GN inserts a lib prefix if it isn't present) but the @rpath annotation changed to be just dawn_native.dylib. Fix this by adding the lib prefix in the rpath annotation. This requires changing libdawn_proc to dawn_proc otherwise the rpath annotation would be liblibdawn_proc.dylib. Bug: dawn:380 Change-Id: Id8610a6318af3468dcc486ee8d3c035f0273fe0d Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/19200 Reviewed-by: Austin Eng <enga@chromium.org> Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Kai Ninomiya <kainino@chromium.org>