Merge pull request #2887 from ilya-lavrenov:ipp_morph_fix
[platform/upstream/opencv.git] / modules / contrib / doc / facerec / src / CMakeLists.txt
1 CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
2
3 set(name "facerec")
4 project(facerec_cpp_samples)
5
6 #SET(OpenCV_DIR /path/to/your/opencv/installation)
7
8 # packages
9 find_package(OpenCV REQUIRED) # http://opencv.org
10
11 # probably you should loop through the sample files here
12 add_executable(facerec_demo facerec_demo.cpp)
13 target_link_libraries(facerec_demo opencv_core opencv_contrib opencv_imgproc opencv_highgui)
14
15 add_executable(facerec_video facerec_video.cpp)
16 target_link_libraries(facerec_video opencv_contrib opencv_core opencv_imgproc opencv_highgui opencv_objdetect opencv_imgproc)
17
18 add_executable(facerec_eigenfaces facerec_eigenfaces.cpp)
19 target_link_libraries(facerec_eigenfaces opencv_contrib opencv_core opencv_imgproc opencv_highgui)
20
21 add_executable(facerec_fisherfaces facerec_fisherfaces.cpp)
22 target_link_libraries(facerec_fisherfaces opencv_contrib opencv_core opencv_imgproc opencv_highgui)
23
24 add_executable(facerec_lbph facerec_lbph.cpp)
25 target_link_libraries(facerec_lbph opencv_contrib opencv_core opencv_imgproc opencv_highgui)