Initial Linux packages build rools for CPack.

This commit is contained in:
Alexander Smorkalov
2014-01-18 23:50:07 +04:00
parent b75cbfde45
commit 7821fe2bde
4 changed files with 129 additions and 1 deletions

View File

@@ -577,7 +577,7 @@ macro(ocv_create_module)
endif()
ocv_install_target(${the_module} EXPORT OpenCVModules
RUNTIME DESTINATION ${OPENCV_BIN_INSTALL_PATH} COMPONENT dev
RUNTIME DESTINATION ${OPENCV_BIN_INSTALL_PATH} COMPONENT libs
LIBRARY DESTINATION ${OPENCV_LIB_INSTALL_PATH} COMPONENT libs
ARCHIVE DESTINATION ${OPENCV_LIB_INSTALL_PATH} COMPONENT dev
)