Home | History | Annotate | Download | only in cudev
      1 if(NOT HAVE_CUDA)
      2   ocv_module_disable(cudev)
      3 endif()
      4 
      5 set(the_description "CUDA device layer")
      6 
      7 ocv_warnings_disable(CMAKE_CXX_FLAGS /wd4189 /wd4505 -Wundef -Wmissing-declarations -Wunused-function -Wunused-variable -Wenum-compare -Wshadow)
      8 
      9 ocv_add_module(cudev)
     10 
     11 ocv_module_include_directories(opencv_core)
     12 
     13 file(GLOB_RECURSE lib_hdrs "include/opencv2/*.hpp")
     14 file(GLOB         lib_srcs "src/*.cpp")
     15 
     16 ocv_set_module_sources(HEADERS ${lib_hdrs} SOURCES ${lib_srcs})
     17 
     18 ocv_create_module()
     19 
     20 if(BUILD_TESTS)
     21   add_subdirectory(test)
     22 endif()
     23