blob: 422def2314538c991c7757b58d1360cf533b42f7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 762ab9f..8683d14 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -18,7 +18,8 @@ if(UNIX AND NOT APPLE)
endif ()
# include JUCE
-add_subdirectory(Libs/JUCE)
+find_package(JUCE COMPONENTS REQUIRED)
+include(FindPkgConfig)
# include clap extension to build plugin in clap format
add_subdirectory(Libs/clap-juce-extensions EXCLUDE_FROM_ALL)
|