Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
32 lines
991 B
Diff
32 lines
991 B
Diff
diff --git a/plugins/LinuxVST/CMakeLists.txt b/plugins/LinuxVST/CMakeLists.txt
|
|
index f43ea128..b87a5c03 100755
|
|
--- a/plugins/LinuxVST/CMakeLists.txt
|
|
+++ b/plugins/LinuxVST/CMakeLists.txt
|
|
@@ -2,11 +2,24 @@ cmake_minimum_required(VERSION 3.9)
|
|
project(airwindows_ports)
|
|
|
|
set(CMAKE_CXX_STANDARD 14)
|
|
-add_compile_options(-O2 -D__cdecl=)
|
|
+add_compile_options(-D__cdecl=)
|
|
+
|
|
+set(VST2_SDK_PATH "${PROJECT_SOURCE_DIR}/include/vstsdk" CACHE STRING "VST2 SDK Path")
|
|
+
|
|
+set(VSTSDK_ROOT
|
|
+ "${VST2_SDK_PATH}"
|
|
+ "${VST2_SDK_PATH}/pluginterfaces/vst2.x/"
|
|
+ "${VST2_SDK_PATH}/public.sdk/source/vst2.x/"
|
|
+)
|
|
+
|
|
+set(VSTSDK_SOURCES
|
|
+ "${VST2_SDK_PATH}/public.sdk/source/vst2.x/audioeffectx.cpp"
|
|
+ "${VST2_SDK_PATH}/public.sdk/source/vst2.x/audioeffect.cpp"
|
|
+ "${VST2_SDK_PATH}/public.sdk/source/vst2.x/vstplugmain.cpp"
|
|
+)
|
|
|
|
include(Helpers.cmake)
|
|
|
|
-add_subdirectory(include/vstsdk)
|
|
add_airwindows_plugin(Acceleration)
|
|
add_airwindows_plugin(Acceleration2)
|
|
add_airwindows_plugin(ADClip7)
|