win-dshow: Disable plugin and warn if submodule not found

This commit is contained in:
jp9000 committed 2016-09-20 05:07:30 -07:00
1 parent 6736aeebde
commit 84613cecff
1 file changed
+5
+5
View File
@@ -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)