From 07334bc25cb15f59645e4fe04e7d6d9335e17068 Mon Sep 17 00:00:00 2001 From: Alexander Alekhin Date: Tue, 25 Jul 2017 06:56:03 +0300 Subject: [PATCH] cmake: fix ocv_add_testdata() hardcoded path --- cmake/OpenCVUtils.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/OpenCVUtils.cmake b/cmake/OpenCVUtils.cmake index 5be3fb8f40..d91d1a62d6 100644 --- a/cmake/OpenCVUtils.cmake +++ b/cmake/OpenCVUtils.cmake @@ -1116,7 +1116,7 @@ macro(ocv_add_testdata basedir dest_subdir) endif() if(INSTALL_TESTS) install(DIRECTORY ${basedir}/ - DESTINATION ${OPENCV_TEST_DATA_INSTALL_PATH}/contrib/text + DESTINATION ${OPENCV_TEST_DATA_INSTALL_PATH}/${dest_subdir} COMPONENT "tests" ${ARGN} )