project(webkam)

include(CheckIncludeFile)
include(CheckIncludeFiles)


check_include_files(linux/videodev.h V4L_FOUND)

if(NOT V4L_FOUND)
  message(FATAL_ERROR "Video4Linux not found")
endif(NOT V4L_FOUND)

find_package(KDE4 REQUIRED)

add_subdirectory( v4l_lib )
add_subdirectory( webkam )
