Skip to content

Commit

Permalink
Merge pull request #3 from hyperpenelope/dev/daw-hangs-when-loading-m…
Browse files Browse the repository at this point in the history
…ultiple-lv2-plugins

CMakeLists.txt: fix hang when >1 Camomile LV2 plugin is loaded
  • Loading branch information
hyperpenelope authored Aug 9, 2022
2 parents 72580fb + 27a4a14 commit 02e9fcd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,11 @@ target_sources(CamomileFx PRIVATE ${CamomileSources} ${CamomilePdSources})

add_library(Camomile_LV2 SHARED ${CamomileLV2Sources})
target_link_libraries(Camomile_LV2 PRIVATE CamomileFx)
set_target_properties(Camomile_LV2 PROPERTIES PREFIX "")
set_target_properties(Camomile_LV2 PROPERTIES PREFIX "" CXX_STANDARD 20)

if(${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU")
target_compile_options(Camomile_LV2 PRIVATE "-fno-gnu-unique")
endif()

set(CAMOMILE_COMPILE_DEFINITIONS
JUCE_APP_CONFIG_HEADER="${SOURCES_DIRECTORY}/PluginConfig.h"
Expand Down

0 comments on commit 02e9fcd

Please sign in to comment.