add_subdirectory(camera_test)

if(NOT GATHERER_OPENGL_ES)
  add_subdirectory(preview)
  add_subdirectory(ogles_gpgpu_test)
endif()

if(BUILD_QT)

  # Disable until qtdeclarative is available: https://github.com/ruslo/hunter/issues/253
  #add_subdirectory(qt-camera-demo)

  # Try this stock camera sample copy-and-paste from: 
  # http://doc.qt.io/qt-5/qtmultimediawidgets-camera-example.html

  # Currently not linking, working through plugin issues and lack of Qt5MultimediaQuick_p
  add_subdirectory(qt-camera)
  if(GATHERER_OPENGL_ES)
    add_subdirectory(declarative-camera)
  else()
    # See issue #55
  endif()

  add_subdirectory(preview-qt)
  if(NOT GATHERER_OPENGL_ES)
    add_subdirectory(opencv-qt-video)
  endif()

  add_subdirectory(qmlvideofilter)
endif()

add_subdirectory(camera_test)

if(NOT GATHERER_OPENGL_ES)
  add_subdirectory(preview)
  add_subdirectory(ogles_gpgpu_test)
endif()

if(BUILD_QT)

  # Disable until qtdeclarative is available: https://github.com/ruslo/hunter/issues/253
  #add_subdirectory(qt-camera-demo)

  # Try this stock camera sample copy-and-paste from: 
  # http://doc.qt.io/qt-5/qtmultimediawidgets-camera-example.html

  # Currently not linking, working through plugin issues and lack of Qt5MultimediaQuick_p
  add_subdirectory(qt-camera)
  if(GATHERER_OPENGL_ES)
    add_subdirectory(declarative-camera)
	add_subdirectory(qmlvideofilter)
  else()
    # See issue #55
  endif()

  add_subdirectory(preview-qt)
  if(NOT GATHERER_OPENGL_ES)
    add_subdirectory(opencv-qt-video)
  endif()


endif()

Move qmlvideofilter into GATHERER_OPENGL_ES only builds for now (probbaly same issue)
Move qmlvideofilter into GATHERER_OPENGL_ES only builds for now (probbaly same issue)
