mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
base: Add checks for submodules in CMake
This commit is contained in:
parent
8bf8995ad8
commit
59e7e3a307
@ -6,6 +6,15 @@ if(NOT ENABLE_UI)
|
|||||||
return()
|
return()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
# Submodule deps check
|
||||||
|
if(NOT
|
||||||
|
(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/deps/json/CMakeLists.txt
|
||||||
|
AND EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/deps/websocketpp/CMakeLists.txt
|
||||||
|
AND EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/deps/qr/cpp/QrCode.hpp
|
||||||
|
AND EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/deps/asio/asio/include/asio.hpp))
|
||||||
|
obs_status(FATAL_ERROR "obs-websocket submodule deps not available.")
|
||||||
|
endif()
|
||||||
|
|
||||||
# Plugin tests flag
|
# Plugin tests flag
|
||||||
option(PLUGIN_TESTS "Enable plugin runtime tests" OFF)
|
option(PLUGIN_TESTS "Enable plugin runtime tests" OFF)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user