Added explicit deb package dependency from libtbb-dev if TBB is enabled.

pull/3989/head
Alexander Smorkalov 10 years ago
parent 90c3d7d361
commit 63d6cc5ca6
  1. 8
      cmake/OpenCVPackaging.cmake

@ -104,6 +104,14 @@ if(HAVE_CUDA)
endif()
endif()
if(HAVE_TBB AND NOT BUILD_TBB)
if(CPACK_DEB_DEV_PACKAGE_DEPENDS)
set(CPACK_DEB_DEV_PACKAGE_DEPENDS "${CPACK_DEB_DEV_PACKAGE_DEPENDS}, libtbb-dev")
else()
set(CPACK_DEB_DEV_PACKAGE_DEPENDS "libtbb-dev")
endif()
endif()
if(NOT OPENCV_CUSTOM_PACKAGE_INFO)
set(CPACK_COMPONENT_LIBS_DESCRIPTION "Open Computer Vision Library")
set(CPACK_DEBIAN_COMPONENT_LIBS_NAME "libopencv")

Loading…
Cancel
Save