Browse Source
CMake: Merge USE_VST option into VST2
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
pull/620/head
Haelwenn (lanodan) Monnier
10 months ago
No known key found for this signature in database
GPG Key ID: D5B7A8E43C997DEE
1 changed files with
3 additions and
9 deletions
-
CMakeLists.txt
|
|
@ -788,13 +788,6 @@ else() |
|
|
|
message( STATUS "LV2 plugin hosting disabled. Requires LV2, lilv, and suil libraries." ) |
|
|
|
endif() |
|
|
|
|
|
|
|
option( VST2 "VST2 plugin host support" ON ) |
|
|
|
if( VST2 ) |
|
|
|
message( STATUS "VST2 plugin host support enabled." ) |
|
|
|
else() |
|
|
|
message( STATUS "VST2 plugin host support disabled." ) |
|
|
|
endif() |
|
|
|
|
|
|
|
if( NOT CMAKE_SYSTEM_NAME MATCHES "Darwin|Windows" ) |
|
|
|
find_package( GLIB REQUIRED ) |
|
|
|
find_package( GTK 3.0 REQUIRED ) |
|
|
@ -802,10 +795,11 @@ if( NOT CMAKE_SYSTEM_NAME MATCHES "Darwin|Windows" ) |
|
|
|
endif() |
|
|
|
|
|
|
|
if( NOT CMAKE_SYSTEM_NAME MATCHES "Darwin|Windows" ) |
|
|
|
cmake_dependent_option( USE_VST "Use VST2 plug-in support [ON, OFF]" ON "GDK3_X11_FOUND" OFF) |
|
|
|
cmake_dependent_option( VST2 "Use VST2 plug-in support [ON, OFF]" ON "GDK3_X11_FOUND" OFF) |
|
|
|
else() |
|
|
|
cmd_option( USE_VST "Use VST2 plug-in support [ON, OFF]" ON) |
|
|
|
option( VST2 "Use VST2 plug-in support" ON) |
|
|
|
endif() |
|
|
|
set(USE_VST ${VST2} CACHE INTERNAL "") |
|
|
|
|
|
|
|
if( NOT WIN32 ) |
|
|
|
# wxWidgets 3.1 can be explicitly selected if both 3.0 and 3.1 are installed by setting |
|
|
|