add opencv_test_cudev to installation package

This commit is contained in:
Vladislav Vinogradov 2015-07-03 13:33:36 +03:00
parent ca692b9804
commit 2f0de3aa2c

View File

@ -45,4 +45,8 @@ if(OCV_DEPENDENCIES_FOUND)
enable_testing()
get_target_property(LOC ${the_target} LOCATION)
add_test(${the_target} "${LOC}")
if(INSTALL_TESTS)
install(TARGETS ${the_target} RUNTIME DESTINATION ${OPENCV_TEST_INSTALL_PATH} COMPONENT tests)
endif()
endif()