win-dshow: Disable plugin and warn if submodule not found
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
if(NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/libdshowcapture/dshowcapture.hpp")
|
||||
message(STATUS "libdshowcapture submodule not found! Please fetch submodules. win-dshow plugin disabled.")
|
||||
return()
|
||||
endif()
|
||||
|
||||
project(win-dshow)
|
||||
|
||||
find_package(FFmpeg REQUIRED COMPONENTS avcodec avutil)
|
||||
|
Reference in New Issue
Block a user