2010-05-12 01:44:00 +08:00
|
|
|
file(GLOB HAAR_CASCADES haarcascades/*.xml)
|
|
|
|
file(GLOB LBP_CASCADES lbpcascades/*.xml)
|
|
|
|
|
2015-03-13 00:14:14 +08:00
|
|
|
install(FILES ${HAAR_CASCADES} DESTINATION ${OPENCV_OTHER_INSTALL_PATH}/haarcascades COMPONENT libs)
|
|
|
|
install(FILES ${LBP_CASCADES} DESTINATION ${OPENCV_OTHER_INSTALL_PATH}/lbpcascades COMPONENT libs)
|
2014-01-27 18:20:30 +08:00
|
|
|
|
2014-01-28 18:05:26 +08:00
|
|
|
if(INSTALL_TESTS AND OPENCV_TEST_DATA_PATH)
|
2014-12-12 23:47:41 +08:00
|
|
|
install(DIRECTORY "${OPENCV_TEST_DATA_PATH}/" DESTINATION "${OPENCV_TEST_DATA_INSTALL_PATH}" COMPONENT "tests")
|
2015-03-13 00:14:14 +08:00
|
|
|
endif()
|