fixed compilation issues

pull/836/head
Vladislav Vinogradov 12 years ago
parent ac0f506d0e
commit d5ee931287
  1. 2
      modules/gpubgsegm/src/precomp.hpp
  2. 5
      modules/photo/CMakeLists.txt

@ -50,7 +50,7 @@
#include "opencv2/gpuarithm.hpp"
#include "opencv2/gpufilters.hpp"
#include "opencv2/gpuimgproc.hpp"
#include "opencv2/imgproc/imgproc_c.h"
#include "opencv2/video.hpp"
#include "opencv2/core/gpu_private.hpp"

@ -1,2 +1,7 @@
set(the_description "Computational Photography")
if(HAVE_CUDA)
ocv_warnings_disable(CMAKE_CXX_FLAGS -Wundef -Wmissing-declarations)
endif()
ocv_define_module(photo opencv_imgproc OPTIONAL opencv_gpuimgproc)

Loading…
Cancel
Save