mirror of
https://github.com/cookiengineer/audacity
synced 2025-04-29 23:29:41 +02:00
CMake: Merge USE_VST option into VST2
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
parent
b8995f0989
commit
7a7792e317
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user