Skip to content

Commit e229482

Browse files
committed
Set OSX deployment target to a much lower version, allowing people running pre 10.15 macOS to run the plugin (tested on 10.12)
1 parent 797fcb9 commit e229482

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

CMakeLists.txt

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ cmake_minimum_required(VERSION 3.15)
1515

1616
set(CMAKE_CXX_STANDARD 20)
1717
set(CMAKE_CXX_STANDARD_REQUIRED ON)
18+
set(CMAKE_OSX_DEPLOYMENT_TARGET 10.10)
1819

19-
project(CRYPT_SYNTH_PLUGIN VERSION 0.2.0)
20+
project(CRYPT_SYNTH_PLUGIN VERSION 0.3.0)
2021

2122
add_subdirectory(JUCE)
2223

@@ -31,12 +32,12 @@ juce_add_plugin(CryptSynthPlugin
3132
IS_MIDI_EFFECT FALSE # Is this plugin a MIDI effect?
3233
EDITOR_WANTS_KEYBOARD_FOCUS FALSE # Does the editor need keyboard focus?
3334
COPY_PLUGIN_AFTER_BUILD TRUE # Should the plugin be installed to a default location after building?
34-
PLUGIN_MANUFACTURER_CODE VITL # A four-character manufacturer id with at least one upper-case character
35-
PLUGIN_CODE CRPT # A unique four-character plugin id with at least one upper-case character
35+
PLUGIN_MANUFACTURER_CODE Vitl # A four-character manufacturer id with at least one upper-case character
36+
PLUGIN_CODE Crpt # A unique four-character plugin id with at least one upper-case character
3637
DESCRIPTION "Hyper-Unison Synthesiser from Bow Church/Vitling"
3738
VST3_CATEGORIES "Instrument Synth Stereo"
38-
AU_MAIN_TYPE "kAudioUnitType_Generator"
39-
FORMATS VST3 # The formats to build. Other valid formats are: AAX Unity VST AU AUv3
39+
AU_MAIN_TYPE "kAudioUnitType_MusicDevice"
40+
FORMATS VST3 AU # The formats to build. Other valid formats are: AAX Unity VST AU AUv3
4041
PRODUCT_NAME "Crypt") # The name of the final executable, which can differ from the target name
4142

4243

CryptPlugin.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ class SuperSawVoice : public SynthesiserVoice, public AudioProcessorValueTreeSta
8080
}
8181
}
8282

83+
8384
/** Clamp value between -1.0f and 1.0f */
8485
inline float clamp(float value) {
8586
return value < -1.0f ? -1.0f : value > 1.0f ? 1.0f : value;

0 commit comments

Comments
 (0)