mirror of
https://github.com/opencv/opencv.git
synced 2024-11-24 11:10:21 +08:00
minor fix
This commit is contained in:
parent
54081f262e
commit
c13df09f08
@ -5,7 +5,9 @@ add_subdirectory(cxcore)
|
||||
add_subdirectory(ml)
|
||||
add_subdirectory(cxts)
|
||||
|
||||
set (BUILD_TESTS_GPU OFF CACHE BOOL "Build tests GPU")
|
||||
if(WITH_CUDA)
|
||||
set (BUILD_TESTS_GPU OFF CACHE BOOL "Build tests GPU")
|
||||
endif()
|
||||
|
||||
if(BUILD_TESTS_GPU AND WITH_CUDA)
|
||||
add_subdirectory(gpu)
|
||||
|
Loading…
Reference in New Issue
Block a user