Skip to content

Commit bda9bfd

Browse files
committed
Fix COPY PLUGIN
1 parent d76343c commit bda9bfd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ if(APPLE)
3333
endif()
3434

3535
set (JUCE_ENABLE_MODULE_SOURCE_GROUPS ON)
36-
set (JUCE_COPY_PLUGIN_AFTER_BUILD ON)
36+
if(NOT DEFINED JUCE_COPY_PLUGIN_AFTER_BUILD)
37+
set(JUCE_COPY_PLUGIN_AFTER_BUILD ON CACHE BOOL "Copy JUCE plugin after build")
38+
endif()
3739
set_property(GLOBAL PROPERTY USE_FOLDERS YES)
3840

3941
if (APPLE)

0 commit comments

Comments
 (0)