1 file(GLOB old_hdrs "opencv/*.h*") 2 install(FILES ${old_hdrs} 3 DESTINATION ${OPENCV_INCLUDE_INSTALL_PATH}/opencv 4 COMPONENT dev) 5 install(FILES "opencv2/opencv.hpp" 6 DESTINATION ${OPENCV_INCLUDE_INSTALL_PATH}/opencv2 7 COMPONENT dev) 8