Skip to content

Commit 5a1af04

Browse files
committed
Added mic access, issue with standalone app when not used in CLion probably
1 parent c27eb00 commit 5a1af04

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

CMakeLists.txt

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,10 @@ set(BaseTargetName NeuralNote)
2828

2929
# Set COPY_PLUGIN_AFTER_BUILD to TRUE on Mac and to FALSE on Windows due to permission issues
3030
if (APPLE)
31-
set(COPY_PLUGIN_AFTER_BUILD TRUE)
32-
else()
33-
set(COPY_PLUGIN_AFTER_BUILD FALSE)
34-
endif()
31+
set(COPY_PLUGIN_AFTER_BUILD TRUE)
32+
else ()
33+
set(COPY_PLUGIN_AFTER_BUILD FALSE)
34+
endif ()
3535

3636
juce_add_plugin("${BaseTargetName}"
3737
# VERSION ... # Set this if the plugin version is different to the project version
@@ -44,6 +44,8 @@ juce_add_plugin("${BaseTargetName}"
4444
IS_MIDI_EFFECT FALSE
4545
EDITOR_WANTS_KEYBOARD_FOCUS FALSE
4646
COPY_PLUGIN_AFTER_BUILD ${COPY_PLUGIN_AFTER_BUILD}
47+
MICROPHONE_PERMISSION_ENABLED TRUE
48+
MICROPHONE_PERMISSION_TEXT "Need access to Microphone"
4749
PLUGIN_MANUFACTURER_CODE DrAu
4850
PLUGIN_CODE NRNT
4951
FORMATS AU VST3 Standalone

0 commit comments

Comments
 (0)