All installed files marked with component names for install customization.

(cherry picked from commit b75cbfde45)

Conflicts:

	cmake/OpenCVModule.cmake
This commit is contained in:
Alexander Smorkalov
2014-01-17 16:30:31 +04:00
parent a348f3eeaa
commit 3ebdcafdd3
32 changed files with 84 additions and 84 deletions

View File

@@ -40,6 +40,6 @@ else()
get_filename_component(wrapper_name "${wrapper}" NAME)
install(FILES "${LIBRARY_OUTPUT_PATH}/${wrapper_name}"
DESTINATION ${OPENCV_LIB_INSTALL_PATH}
COMPONENT main)
COMPONENT libs)
endforeach()
endif()

View File

@@ -63,4 +63,4 @@ if (NOT (CMAKE_BUILD_TYPE MATCHES "debug"))
endif()
install(TARGETS ${the_target} LIBRARY DESTINATION ${OPENCV_LIB_INSTALL_PATH} COMPONENT main)
install(TARGETS ${the_target} LIBRARY DESTINATION ${OPENCV_LIB_INSTALL_PATH} COMPONENT libs)