obsproject / obs-plugintemplate

GNU General Public License v2.0
307 stars 141 forks source link

This template installs files back into the build directory when built with ninja #59

Closed yurivict closed 10 months ago

yurivict commented 1 year ago

Operating System Info

Other

Other OS

FreeBSD

OBS Studio Version

28.1.2

OBS Studio Version (Other)

No response

OBS Studio Log URL

n/a

OBS Studio Crash Log URL

No response

Expected Behavior

n/a

Current Behavior

Installs:

lib/obs-plugins/obs-plugintemplate.so
share/obs/obs-plugins/obs-plugintemplate/locale/en-US.ini
/usr/ports/multimedia/obs-plugintemplate/work/.build/rundir/Release/lib/obs-plugins/obs-plugintemplate.so
/usr/ports/multimedia/obs-plugintemplate/work/.build/rundir/Release/share/obs/obs-plugins/obs-plugintemplate/data/locale/en-US.ini
@dir /usr/ports/multimedia/obs-plugintemplate/work/.build/rundir/Release/lib/obs-plugins
@dir /usr/ports/multimedia/obs-plugintemplate/work/.build/rundir/Release/lib
@dir /usr/ports/multimedia/obs-plugintemplate/work/.build/rundir/Release/share/obs/obs-plugins/obs-plugintemplate/data/locale
@dir /usr/ports/multimedia/obs-plugintemplate/work/.build/rundir/Release/share/obs/obs-plugins/obs-plugintemplate/data
@dir /usr/ports/multimedia/obs-plugintemplate/work/.build/rundir/Release/share/obs/obs-plugins/obs-plugintemplate
@dir /usr/ports/multimedia/obs-plugintemplate/work/.build/rundir/Release/share/obs/obs-plugins
@dir /usr/ports/multimedia/obs-plugintemplate/work/.build/rundir/Release/share/obs
@dir /usr/ports/multimedia/obs-plugintemplate/work/.build/rundir/Release/share
@dir /usr/ports/multimedia/obs-plugintemplate/work/.build/rundir/Release
@dir /usr/ports/multimedia/obs-plugintemplate/work/.build/rundir
@dir /usr/ports/multimedia/obs-plugintemplate/work/.build
@dir /usr/ports/multimedia/obs-plugintemplate/work
@dir /usr/ports/multimedia/obs-plugintemplate
@dir /usr/ports/multimedia
@dir /usr/ports

Steps to Reproduce

Build with ninja backend.

Anything else we should know?

No response

yurivict commented 1 year ago

This is possibly a cmake bug: https://gitlab.kitware.com/cmake/cmake/-/issues/24273

PatTheMav commented 1 year ago

Please provide steps to reproduce a build setup that shows this behaviour.

PatTheMav commented 11 months ago

Can't reproduce on FreeBSD 13.2:

root@obs-jail:~/GitHub/obs-plugintemplate # cmake --install build_x86_64 --prefix ./local_install
-- Install configuration: "RelWithDebInfo"
-- Installing: /root/GitHub/obs-plugintemplate/./local_install/lib/obs-plugins/obs-plugintemplate.so
-- Set runtime path of "./local_install/lib/obs-plugins/obs-plugintemplate.so" to ""
-- Installing: /root/GitHub/obs-plugintemplate/./local_install/share/obs/obs-plugins/obs-plugintemplate
-- Installing: /root/GitHub/obs-plugintemplate/./local_install/share/obs/obs-plugins/obs-plugintemplate/locale
-- Installing: /root/GitHub/obs-plugintemplate/./local_install/share/obs/obs-plugins/obs-plugintemplate/locale/en-US.ini

If this issue requires specific build steps to trigger it, we need to know about those exact steps ("Build with ninja backend." is insufficient because that does not trigger the behaviour reported in the OP).

RytoEX commented 10 months ago

Closing as no additional information was provided and we were unable to reproduce this. This can be reopened if new steps to reproduce are provided that allow us to reproduce this issue.