mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 19:20:28 +08:00
16 lines
264 B
CMake
16 lines
264 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")
|
|
endif()
|
|
|
|
if(BUILD_TESTS_GPU AND WITH_CUDA)
|
|
add_subdirectory(gpu)
|
|
endif()
|
|
|