BASIS  version 1.2.3 (revision 2104)
FindOpenCV.cmake File Reference

Find OpenCV Library (http://sourceforge.net/projects/opencvlibrary/) More...

#include "${OpenCV_DIR}/OpenCVConfig.cmake"
#include "FindPackageHandleStandardArgs"
+ Include dependency graph for FindOpenCV.cmake:

Go to the source code of this file.


Detailed Description

Find OpenCV Library (http://sourceforge.net/projects/opencvlibrary/)

1. Setup

The following variables are optionally searched for defaults OpenCV_DIR: Base directory of OpenCv tree to use.

2. Variable

The following are set after configuration is done:

The following variables are used to maintain compatibility with other Find<Pkg>.cmake modules, including the FindOpenCV.cmake module of of Jan Woetzel (2006/09, www.mip.informatik.uni-kiel.de/~jw):

3. Version

2012/02/28 Andreas Schuh, Reimplemented module to work also for OpenCV 1.x. 2010/04/07 Benoit Rat, Correct a bug when OpenCVConfig.cmake is not found. 2010/03/24 Benoit Rat, Add compatibility for when OpenCVConfig.cmake is not found. 2010/03/22 Benoit Rat, Creation of the script.

tested with:

4. Licence

LGPL 2.1 : GNU Lesser General Public License Usage Alternatively, this file may be used under the terms of the GNU Lesser

General Public License version 2.1 as published by the Free Software Foundation and appearing in the file LICENSE.LGPL included in the packaging of this file. Please review the following information to ensure the GNU Lesser General Public License version 2.1 requirements will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.

Definition in file FindOpenCV.cmake.