1 file(GLOB HAAR_CASCADES haarcascades/*.xml)
2 file(GLOB LBP_CASCADES lbpcascades/*.xml)
4 install(FILES ${HAAR_CASCADES} DESTINATION ${OPENCV_OTHER_INSTALL_PATH}/haarcascades COMPONENT libs)
5 install(FILES ${LBP_CASCADES} DESTINATION ${OPENCV_OTHER_INSTALL_PATH}/lbpcascades COMPONENT libs)
7 if(INSTALL_TESTS AND OPENCV_TEST_DATA_PATH)
8 install(DIRECTORY "${OPENCV_TEST_DATA_PATH}/" DESTINATION "${OPENCV_TEST_DATA_INSTALL_PATH}" COMPONENT "tests")