opencv/tests/CMakeLists.txt

16 lines
264 B
CMake
Raw Normal View History

ENABLE_TESTING()
add_subdirectory(cv)
add_subdirectory(cxcore)
add_subdirectory(ml)
add_subdirectory(cxts)
2010-07-26 22:16:33 +08:00
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()