obsproject / obs-amd-encoder

AMD Advanced Media Framework Encoder Plugin for Open Broadcaster Studio
https://obsproject.com/forum/threads/amd-advanced-media-framework-encoder-plugin-for-obs-studio.52305/
GNU General Public License v2.0
454 stars 87 forks source link

cmake: Handle copy and install of locale files #441

Closed RytoEX closed 1 year ago

RytoEX commented 1 year ago

Description

Copy and install the locale files for enc-amf.

Motivation and Context

Want plugins to not break.

Normally, the new OBS CMake helpers would handle this, but those expect locale files to be in data instead of resources. We considered moving the locale files from resources to data, but other things, such as https://github.com/obsproject/obs-crowdin-sync/, have special handling for enc-amf, and I didn't want to worry about what else would break.

How Has This Been Tested?

Built locally.

Types of changes

Checklist: