Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix swankyamp linux-embed build
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Jul 12, 2022
1 parent 2c3ff26 commit af1152e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 10 deletions.
7 changes: 0 additions & 7 deletions libs/juce-plugin/JucePluginMain.cpp
Expand Up @@ -37,10 +37,3 @@
#else
#error Invalid configuration
#endif

#if JUCE_AUDIOPROCESSOR_NO_GUI
// commonly used classes in DSP code
namespace juce {
Colour::Colour(juce::uint32) noexcept {}
}
#endif
2 changes: 0 additions & 2 deletions ports-juce6/swankyamp/meson.build
Expand Up @@ -7,9 +7,7 @@ plugin_extra_include_dirs = include_directories([

if linux_embed
plugin_srcs = files([
'source/BinaryData.cpp',
'source/PluginProcessor.cpp',
'source/PresetManager.cpp',
'source/Utils.cpp',
])
else
Expand Down
4 changes: 3 additions & 1 deletion ports-juce6/swankyamp/source/PluginProcessor.cpp
Expand Up @@ -22,7 +22,9 @@

#include <JuceHeader.h>

#include "PluginEditor.h"
#if ! JUCE_AUDIOPROCESSOR_NO_GUI
#include "PluginEditor.h"
#endif
#include "Utils.h"

#include "PluginProcessor.h"
Expand Down

0 comments on commit af1152e

Please sign in to comment.