mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
CMake: Propagate more definitions from shared-code to plugin wrappers
In order to avoid collisions in the JucePlugin_Build preprocessor definitions, we were only propagating the JUCE_MODULE_AVAILABLE defs from the shared code target to the plugin wrapper targets. After this change, we propagate everything *but* the JucePlugin_Build definitions.
This commit is contained in:
parent
e0110e62bb
commit
f29e2de715
1 changed files with 1 additions and 1 deletions
|
|
@ -703,7 +703,7 @@ function(_juce_get_module_definitions target filter out_var)
|
|||
set(compile_defs $<TARGET_GENEX_EVAL:${target},$<TARGET_PROPERTY:${target},COMPILE_DEFINITIONS>>)
|
||||
|
||||
if(filter)
|
||||
set(${out_var} $<FILTER:${compile_defs},INCLUDE,JUCE_MODULE_AVAILABLE_> PARENT_SCOPE)
|
||||
set(${out_var} $<FILTER:${compile_defs},EXCLUDE,JucePlugin_Build_|JUCE_SHARED_CODE> PARENT_SCOPE)
|
||||
else()
|
||||
set(${out_var} ${compile_defs} PARENT_SCOPE)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue