mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
CMake: Avoid building the Reaper embedded-view demos if no VST2 SDK is available
This commit is contained in:
parent
6c24b32bcd
commit
853dac4f3f
1 changed files with 4 additions and 0 deletions
|
|
@ -47,6 +47,10 @@ function(_juce_add_pips)
|
|||
"${CMAKE_CURRENT_SOURCE_DIR}/ARAPluginDemo.h")
|
||||
endif()
|
||||
|
||||
if(NOT TARGET juce_vst2_sdk)
|
||||
list(REMOVE_ITEM headers "${CMAKE_CURRENT_SOURCE_DIR}/ReaperEmbeddedViewPluginDemo.h")
|
||||
endif()
|
||||
|
||||
foreach(header IN ITEMS ${headers})
|
||||
juce_add_pip(${header} added_target)
|
||||
target_link_libraries(${added_target} PUBLIC
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue