|
@@ -48,20 +48,20 @@ elseif("${CMAKE_SYSTEM_NAME}" MATCHES "FreeBSD")
|
|
|
add_subdirectory(linux-jack)
|
|
|
endif()
|
|
|
|
|
|
-if(WIN32 OR APPLE)
|
|
|
- option(BUILD_BROWSER "Build browser plugin" OFF)
|
|
|
- if (BUILD_BROWSER)
|
|
|
- if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/obs-browser/CMakeLists.txt")
|
|
|
- add_subdirectory(obs-browser)
|
|
|
- set(BROWSER_AVAILABLE_INTERNAL ON CACHE BOOL "Internal global cmake variable" FORCE)
|
|
|
- else()
|
|
|
- message(STATUS "obs-browser submodule not found! Please fetch submodules. obs-browser plugin disabled.")
|
|
|
- set(BROWSER_AVAILABLE_INTERNAL OFF CACHE BOOL "Internal global cmake variable" FORCE)
|
|
|
- endif()
|
|
|
+option(BUILD_BROWSER "Build browser plugin" OFF)
|
|
|
+if (BUILD_BROWSER)
|
|
|
+ if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/obs-browser/CMakeLists.txt")
|
|
|
+ add_subdirectory(obs-browser)
|
|
|
+ set(BROWSER_AVAILABLE_INTERNAL ON CACHE BOOL "Internal global cmake variable" FORCE)
|
|
|
else()
|
|
|
+ message(STATUS "obs-browser submodule not found! Please fetch submodules. obs-browser plugin disabled.")
|
|
|
set(BROWSER_AVAILABLE_INTERNAL OFF CACHE BOOL "Internal global cmake variable" FORCE)
|
|
|
endif()
|
|
|
+else()
|
|
|
+ set(BROWSER_AVAILABLE_INTERNAL OFF CACHE BOOL "Internal global cmake variable" FORCE)
|
|
|
+endif()
|
|
|
|
|
|
+if(WIN32 OR APPLE)
|
|
|
if (EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/obs-vst/CMakeLists.txt")
|
|
|
add_subdirectory(obs-vst)
|
|
|
else()
|