First pass at name mangling based on version number, to support

side by side installs of OpenCV2.3.0 OpenCV2.3.1 OpenCV2.4.x, etc...
This commit is contained in:
Ethan Rublee
2011-06-28 16:02:09 +00:00
parent d673197d01
commit 6259c9ac6a
7 changed files with 82 additions and 33 deletions

View File

@@ -1,8 +1,9 @@
file(GLOB old_hdrs "opencv/*.h*")
install(FILES ${old_hdrs}
DESTINATION include/opencv
DESTINATION ${OPENCV_INCLUDE_PREFIX}/opencv
COMPONENT main)
install(FILES "opencv2/opencv.hpp"
DESTINATION ${OPENCV_INCLUDE_PREFIX}/opencv2
COMPONENT main)
install(FILES "opencv2/opencv.hpp"
DESTINATION include/opencv2
COMPONENT main)