Commit 2f0de3aa authored by Vladislav Vinogradov's avatar Vladislav Vinogradov

add opencv_test_cudev to installation package

parent ca692b98
...@@ -45,4 +45,8 @@ if(OCV_DEPENDENCIES_FOUND) ...@@ -45,4 +45,8 @@ if(OCV_DEPENDENCIES_FOUND)
enable_testing() enable_testing()
get_target_property(LOC ${the_target} LOCATION) get_target_property(LOC ${the_target} LOCATION)
add_test(${the_target} "${LOC}") add_test(${the_target} "${LOC}")
if(INSTALL_TESTS)
install(TARGETS ${the_target} RUNTIME DESTINATION ${OPENCV_TEST_INSTALL_PATH} COMPONENT tests)
endif()
endif() endif()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment