opencv.cmake 519 Bytes
Newer Older
1
superbuild_add_project(opencv
Ben Boeckel's avatar
Ben Boeckel committed
2
  DEPENDS
3
    python qt4 numpy
Ben Boeckel's avatar
Ben Boeckel committed
4
  CMAKE_ARGS
5 6 7
    -DBUILD_PERF_TESTS:BOOL=OFF
    -DBUILD_TESTS:BOOL=OFF
    -DBUILD_opencv_flann:BOOL=OFF
Ben Boeckel's avatar
Ben Boeckel committed
8 9
    -DBUILD_opencv_hdf:BOOL=OFF
    -DBUILD_opencv_dnn:BOOL=OFF
10
    -DBUILD_opencv_videoio:BOOL=OFF
Ben Boeckel's avatar
Ben Boeckel committed
11
    -DWITH_CUDA:BOOL=OFF
12 13
    -DWITH_GTK:BOOL=OFF
    -DWITH_FFMPEG:BOOL=OFF
Ben Boeckel's avatar
Ben Boeckel committed
14 15
    -DWITH_VTK:BOOL=OFF
    -DCMAKE_INSTALL_NAME_DIR:PATH=<INSTALL_DIR>/lib)
16 17 18 19 20

if (WIN32)
  superbuild_add_extra_cmake_args(
    -DOpenCV_DIR:PATH=<INSTALL_DIR>/share)
endif ()