|
@@ -72,10 +72,13 @@ else()
|
|
|
set(BROWSER_AVAILABLE_INTERNAL OFF CACHE BOOL "Internal global cmake variable" FORCE)
|
|
set(BROWSER_AVAILABLE_INTERNAL OFF CACHE BOOL "Internal global cmake variable" FORCE)
|
|
|
endif()
|
|
endif()
|
|
|
|
|
|
|
|
-if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/obs-vst/CMakeLists.txt")
|
|
|
|
|
- add_subdirectory(obs-vst)
|
|
|
|
|
-else()
|
|
|
|
|
- message(STATUS "obs-vst submodule not found! Please fetch/update submodules. obs-vst plugin disabled.")
|
|
|
|
|
|
|
+option(BUILD_VST "Build VST plugin" ON)
|
|
|
|
|
+if(BUILD_VST)
|
|
|
|
|
+ if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/obs-vst/CMakeLists.txt")
|
|
|
|
|
+ add_subdirectory(obs-vst)
|
|
|
|
|
+ else()
|
|
|
|
|
+ message(FATAL_ERROR "obs-vst submodule not found! Please fetch submodules or set BUILD_VST=OFF.")
|
|
|
|
|
+ endif()
|
|
|
endif()
|
|
endif()
|
|
|
|
|
|
|
|
add_subdirectory(image-source)
|
|
add_subdirectory(image-source)
|