cmake_minimum_required(VERSION 2.8)

# Eliminate a warning when building in Windows that relates
# to static linking of Qt executables to qtmain.lib.
# This policy was introduced in CMake version 2.8.11.
# CMake version 2.8.11.2 warns when the policy is not set
# and uses OLD behavior.
if(POLICY CMP0020)
  cmake_policy(SET CMP0020 OLD)
endif()

option( INSTALL_QVIDEO_PLUGIN "Check to install qVideo plugin" OFF )

if (INSTALL_QVIDEO_PLUGIN)

#CloudCompare 'VIDEO' plugin
project( QVIDEO_PLUGIN )


#if the plugin is an 'OpenGL filter', uncomment the line below
#set( CC_OPENGL_FILTER ON BOOL)
include( ../CMakePluginTpl.cmake )

execute_process ( COMMAND  uic videoDlg.ui -o ui_videoDlg.h )

endif()
