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

Conversation

josephgeis
Copy link

Fixes #86

@h1z1
Copy link

h1z1 commented Oct 28, 2020

Won't that break non ubuntu users?

@josephgeis
Copy link
Author

It doesn't break for Debian necessarily, but good point about other distros. Plus, there's other architectures too that don't use that.

I'll just leave this PR open for now and revise it after later research.

@josephgeis josephgeis changed the title Update library path for new versions of OBS WIP: Update library path for new versions of OBS Oct 29, 2020
@h1z1
Copy link

h1z1 commented Oct 29, 2020

CMake should be picking that path up. Take a look at the GNUInstallDirs module.


install(TARGETS v4l2sink
LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/obs-plugins)
LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/x86_64-linux-gnu/obs-plugins)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks incorrect as this hardcode the libdir for x86_64 and is a debianism. (others distro don't use this scheme).

Usually CMAKE_INSTALL_LIBDIR needs to be configured as appropriate. Or this should be inherited from FindLibObs.cmake (from the obs-studio devel package)...

Copy link

@kwizart kwizart Feb 14, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(not a project maintainer).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No longer works after upgrading to Ubuntu 20.10

3 participants