Browse Source

Error out when trying to build UI with DISTRHO_PLUGIN_HAS_UI == 0

Signed-off-by: falkTX <falktx@falktx.com>
pull/397/head
falkTX 2 years ago
parent
commit
fcb74a3f59
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      distrho/DistrhoUIMain.cpp

+ 4
- 0
distrho/DistrhoUIMain.cpp View File

@@ -16,6 +16,10 @@

#include "src/DistrhoUI.cpp"

#if ! DISTRHO_PLUGIN_HAS_UI
# error Trying to build UI without DISTRHO_PLUGIN_HAS_UI set to 1
#endif

#if defined(DISTRHO_PLUGIN_TARGET_CARLA)
# define DISTRHO_PLUGIN_AND_UI_IN_SINGLE_OBJECT 1
#elif defined(DISTRHO_PLUGIN_TARGET_CLAP)


Loading…
Cancel
Save