OpenShot / libopenshot-audio

OpenShot Audio Library (libopenshot-audio) is a free, open-source project that enables high-quality editing and playback of audio, and is based on the amazing JUCE library.
http://www.openshot.org
GNU General Public License v3.0
253 stars 100 forks source link

CMake: Correct EXPORTED config install path #127

Closed ferdnyc closed 3 years ago

ferdnyc commented 3 years ago

I was steered wrong, and set up the OpenShotAudioConfig.cmake file (and friends) to install to share/cmake/... that path is OK for arch-independent installs, but not for architecture-bound library installs like libopenshot-audio. Those should go into the same ${CMAKE_INSTALL_LIBDIR} that the libraries themselves go into, so that a multi-arch system can simultaneously have, e.g.:

...and the right one will be used automatically.

Looking to merge this as soon as the CI is ready, because it has to be coordinated with a corresponding change to the Ubuntu PPA packaging control files (as they expect files to be installed into this path, by name).