File CqtAnalyzer-cmake.patch of Package CqtAnalyzer
diff --git a/CqtAnalyzer/CMakeLists.txt b/CqtAnalyzer/CMakeLists.txt
index 17f3c00..8849334 100644
--- a/CqtAnalyzer/CMakeLists.txt
+++ b/CqtAnalyzer/CMakeLists.txt
@@ -21,14 +21,14 @@ project(CqtAnalyzer VERSION 0.2.0)
# included JUCE directly in your source tree (perhaps as a submodule), you'll need to tell CMake to
# include that subdirectory as part of the build.
-# find_package(JUCE CONFIG REQUIRED) # If you've installed JUCE to your system
+find_package(JUCE CONFIG REQUIRED) # If you've installed JUCE to your system
# or
-add_subdirectory(../submodules/JUCE JUCE) # If you've put JUCE in a subdirectory called JUCE
+# add_subdirectory(../submodules/JUCE JUCE) # If you've put JUCE in a subdirectory called JUCE
# If you are building a VST2 or AAX plugin, CMake needs to be told where to find these SDKs on your
# system. This setup should be done before calling `juce_add_plugin`.
-# juce_set_vst2_sdk_path(...)
+juce_set_vst2_sdk_path(/usr/include)
# juce_set_aax_sdk_path(...)
# `juce_add_plugin` adds a static library target with the name passed as the first argument
@@ -53,8 +53,9 @@ juce_add_plugin(CqtAnalyzer
PLUGIN_MANUFACTURER_CODE chrD # A four-character manufacturer id with at least one upper-case character
PLUGIN_CODE ctAn # A unique four-character plugin id with exactly one upper-case character
# GarageBand 10.3 requires the first letter to be upper-case, and the remaining letters to be lower-case
- FORMATS AU VST3 # The formats to build. Other valid formats are: AAX Unity VST AU AUv3
+ FORMATS Standalone LV2 VST VST3 # The formats to build. Other valid formats are: AAX Unity VST AU AUv3
VST3_CATEGORIES Analyzer
+ LV2_URI https://github.com/jmerkt/cqt-analyzer
AU_MAIN_TYPE kAudioUnitType_Effect
PRODUCT_NAME "CqtAnalyzer") # The name of the final executable, which can differ from the target name