Skip to content
This repository has been archived by the owner on Mar 15, 2021. It is now read-only.

Fix destination path #91

Open
npalix opened this issue Nov 6, 2020 · 2 comments
Open

Fix destination path #91

npalix opened this issue Nov 6, 2020 · 2 comments

Comments

@npalix
Copy link

npalix commented Nov 6, 2020

LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/obs-plugins)

There is not way to set the destination path to /usr/lib/x86_64-linux-gnu/obs-plugins/ which is used under Ubuntu.

I propose to use LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/obs-plugins) instead.
So INSTALL_PREFIX can be set to either /usr/lib or /usr/lib/x86_64-linux-gnu accordingly.

@nettnikl
Copy link

nettnikl commented Nov 6, 2020

A quick, dirty and and not in any way recommended workaround to make it to your next meeting:
sudo mv /usr/lib/obs-plugins/v4l2sink.so /usr/lib/x86_64-linux-gnu/obs-plugins/

(Thank you @npalix, i missed the fact the installer installs to the wrong directory, you just saved me!)

Edit: I finally moved the plugin to ~/.config/obs-studio/plugins/, which seems to be the appropriate place.

@Cimbali
Copy link

Cimbali commented Nov 10, 2020

It should also potentially be /usr/lib64 on some systems

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants