gearmulator

Emulation of classic VA synths of the late 90s/2000s that are based on Motorola 56300 family DSPs
Log | Files | Refs | Submodules | README | LICENSE

commit 364ec4fed1a4c6ad2720686f7140a11bf1144cdb
parent 117dc5dad657b97db18d90f9ffae022ee4582f68
Author: dsp56300 <dsp56300@users.noreply.github.com>
Date:   Thu, 15 Aug 2024 00:41:20 +0200

fix LV2 packaging on Mac/Win

Diffstat:
Mdoc/changelog.txt | 1+
Msource/juce.cmake | 7++++++-
2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/doc/changelog.txt b/doc/changelog.txt @@ -7,6 +7,7 @@ Framework: - [Fix] CLAP: Ranges of discrete parameters were not reported properly, causing automation issues - [Fix] Context menu for text edit fields was twice as large as intended +- [Fix] LV2 plugins were packaged into a a Unix like subfolder for Mac/Win Osirus: diff --git a/source/juce.cmake b/source/juce.cmake @@ -142,7 +142,12 @@ macro(createJucePlugin targetName productName isSynth plugin4CC binaryDataProjec else() set(pattern "*.so") endif() - install(DIRECTORY ${lv2OutputFolder}/${productName}.lv2 DESTINATION lib/lv2/ COMPONENT ${productName}-LV2 FILES_MATCHING PATTERN ${pattern} PATTERN "*.ttl") + if(MSVC OR APPLE) + set(dest .) + else() + set(dest lib/lv2/) + endif() + install(DIRECTORY ${lv2OutputFolder}/${productName}.lv2 DESTINATION ${dest} COMPONENT ${productName}-LV2 FILES_MATCHING PATTERN ${pattern} PATTERN "*.ttl") endif() if(APPLE AND ${isSynth})