obsproject / obs-plugintemplate

GNU General Public License v2.0
285 stars 133 forks source link

Windows helper copies plugin to `obs-plugin` instead of `obs-plugins` #93

Closed univrsal closed 10 months ago

univrsal commented 11 months ago

Operating System Info

Windows 11

Other OS

No response

OBS Studio Version

30.0.0-beta2

OBS Studio Version (Other)

No response

OBS Studio Log URL

n/a

OBS Studio Crash Log URL

No response

Expected Behavior

Defining OBS_BUILD_DIR should copy the plugin to the correct path.

Current Behavior

It tries to copy to the folder .../obs-studio/build_x64/rundir/Debug/obs-plugin/64bit

Steps to Reproduce

  1. Define OBS_BUILD_DIR in cmake to the obs build directory
  2. Build the plugin
  3. It fails because the folder doesn't exist

Anything else we should know?

Should be a simple fix, just add the missing 's' here:

https://github.com/obsproject/obs-plugintemplate/blob/b4a4eb51a8210eaaaa1fdc6ed88c22b89e5563cd/cmake/windows/helpers.cmake#L46