提交 c13df09f 编写于 作者: A Andrey Morozov

minor fix

上级 54081f26
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册