2010-05-11 17:44:00 +00:00
|
|
|
ENABLE_TESTING()
|
|
|
|
|
|
|
|
add_subdirectory(cv)
|
|
|
|
add_subdirectory(cxcore)
|
|
|
|
add_subdirectory(ml)
|
|
|
|
add_subdirectory(cxts)
|
2010-07-19 14:35:19 +00:00
|
|
|
|
2010-07-26 14:16:33 +00:00
|
|
|
if(WITH_CUDA)
|
|
|
|
set (BUILD_TESTS_GPU OFF CACHE BOOL "Build tests GPU")
|
2010-09-17 15:28:59 +00:00
|
|
|
|
|
|
|
if(BUILD_TESTS_GPU AND WITH_CUDA)
|
2010-07-19 14:35:19 +00:00
|
|
|
add_subdirectory(gpu)
|
2010-09-17 15:28:59 +00:00
|
|
|
endif()
|
2010-07-19 14:35:19 +00:00
|
|
|
endif()
|
|
|
|
|
2010-09-17 15:28:59 +00:00
|
|
|
|
|
|
|
|