commit 1842b8fdebfa9846bfbd9d4c91a98edd0756189b parent 93ae7fe088102438c7accc914c4f269c826410be Author: dsp56300 <dsp56300@users.noreply.github.com> Date: Thu, 28 Jul 2022 22:21:23 +0200 (linux) use users home directory for install location of plugins instead of a system directory, fixes #87 Diffstat:
M | source/jucePlugin/CMakeLists.txt | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/source/jucePlugin/CMakeLists.txt b/source/jucePlugin/CMakeLists.txt @@ -112,9 +112,9 @@ macro(createJucePlugin targetName productName isSynth plugin4CC binaryDataProjec endif() elseif(UNIX) if(JUCE_GLOBAL_VST2_SDK_PATH) - install(TARGETS ${targetName}_VST LIBRARY DESTINATION /usr/local/lib/lxvst/ COMPONENT VST2${componentName}) + install(TARGETS ${targetName}_VST LIBRARY DESTINATION "$ENV{HOME}/.vst/" COMPONENT VST2${componentName}) endif() - install(TARGETS ${targetName}_VST3 LIBRARY DESTINATION /usr/local/lib/vst3/ COMPONENT VST3${componentName}) + install(TARGETS ${targetName}_VST3 LIBRARY DESTINATION "$ENV{HOME}/.vst3/" COMPONENT VST3${componentName}) endif() endmacro()