2010-05-11 19:44:00 +02:00
|
|
|
file(GLOB HAAR_CASCADES haarcascades/*.xml)
|
|
|
|
file(GLOB LBP_CASCADES lbpcascades/*.xml)
|
|
|
|
|
2012-06-27 08:22:26 +02:00
|
|
|
if(ANDROID)
|
|
|
|
install(FILES ${HAAR_CASCADES} DESTINATION sdk/etc/haarcascades COMPONENT main)
|
|
|
|
install(FILES ${LBP_CASCADES} DESTINATION sdk/etc/lbpcascades COMPONENT main)
|
|
|
|
elseif(NOT WIN32)
|
2012-03-03 16:49:23 +01:00
|
|
|
install(FILES ${HAAR_CASCADES} DESTINATION share/OpenCV/haarcascades COMPONENT main)
|
2012-06-27 08:22:26 +02:00
|
|
|
install(FILES ${LBP_CASCADES} DESTINATION share/OpenCV/lbpcascades COMPONENT main)
|
2010-05-11 19:44:00 +02:00
|
|
|
endif()
|