VASTDynamics / Vaporizer2

Vaporizer2 hybrid wavetable additive / subtractive VST / AU / AAX synthesizer / sampler workstation plugin
https://www.vast-dynamics.com/?q=products
GNU General Public License v3.0
436 stars 26 forks source link

Add installation rules to CMake files #76

Closed taylordotfish closed 8 months ago

taylordotfish commented 8 months ago

This PR adds installation rules so Vaporizer2 can be installed with cmake --install or make install, mainly on systems that don't typically use installers, like GNU/Linux.

This requires one additional modification, included in this PR—Vaporizer2 will first look for data in ${CMAKE_INSTALL_FULL_DATAROOTDIR}/Vaporizer2 (which, by default, is /usr/local/share/Vaporizer2), before falling back to /usr/share/Vaporizer2 as usual. (To force it to use /usr/share/Vaporizer2 even if other directories exist, CMAKE_INSTALL_PREFIX can be set to /usr.)

VASTDynamics commented 8 months ago

Thank you!!