CMakeLists.txt 456 B

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