title: CMake Error at CMakeLists.txt CMAKE_PREFIX_PATH
body: <p>I have downloaded the source code of the face-analysis SDK from <a href="http://face.ci2cv.net/" rel="noreferrer">http://face.ci2cv.net/</a>. Now I am trying to get it running. I downloaded all the necessary software and followed the installation instructions. When I try to execute cmake [options] .. I get an error.</p>
  
  <pre><code>CMake Error at CMakeLists.txt:21(find_package):
  Could not find a package configuration file provided by "OpenCV" with any of the following names:
  OpenCVConfig.cmake
  opencv-comfig.cmake
  Add the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH or set "OpenCV_DIR" to a directory 
  containing one of the above files. If OpenCV provides a separate development package or SDK, 
  be sure it has been installed. 
  </code></pre>
  
  <p>The CMakeLists.txt looks like this</p>
  
  <pre><code># -*-cmake-*-
  PROJECT(CSIRO-FaceAnalysis-SDK)
  
  cmake_minimum_required(VERSION 2.8)
  
  #set(CMAKE_VERBOSE_MAKEFILE true)
  
  # Default values for options
  if(NOT DEFINED OpenCV_PREFIX)
    set(OpenCV_PREFIX ${CMAKE_INSTALL_PREFIX})
  endif()
  
  
    set(OpenCV_PREFIX C:/Program Files/Development/opencv/build)
  endif(
  # Configurable options
  OPTION(WITH_GUI "Build the GUI" OFF)
  
  # Third party libraries
  find_package(OpenCV REQUIRED core highgui imgproc objdetect
    PATHS ${OpenCV_PREFIX}/lib/cmake/
          ${OpenCV_PREFIX}/share/OpenCV/
    NO_DEFAULT_PATH) # For some reason CMake uses its defaults before the above paths.
  </code></pre>
  
  
  
  <p>Please help me, I have no idea what to do.</p>
  
  <p>Thanks, B</p>