mirror of
https://github.com/opencv/opencv.git
synced 2024-12-12 23:49:36 +08:00
1387bfcde0
added npp_error function added check_and_treat_gpu_exception function for tests_gpu
18 lines
269 B
CMake
18 lines
269 B
CMake
ENABLE_TESTING()
|
|
|
|
add_subdirectory(cv)
|
|
add_subdirectory(cxcore)
|
|
add_subdirectory(ml)
|
|
add_subdirectory(cxts)
|
|
|
|
if(WITH_CUDA)
|
|
set (BUILD_TESTS_GPU OFF CACHE BOOL "Build tests GPU")
|
|
|
|
if(BUILD_TESTS_GPU AND WITH_CUDA)
|
|
add_subdirectory(gpu)
|
|
endif()
|
|
endif()
|
|
|
|
|
|
|