mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 15:23:05 +04:00
cmake: fix ocv_add_testdata() hardcoded path
This commit is contained in:
@@ -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}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user