[openrtm-commit:02568] r209 - trunk/ImageProcessing/opencv
openrtm @ openrtm.org
openrtm @ openrtm.org
2017年 4月 11日 (火) 16:50:01 JST
Author: kawauchi
Date: 2017-04-11 16:50:01 +0900 (Tue, 11 Apr 2017)
New Revision: 209
Modified:
trunk/ImageProcessing/opencv/CMakeLists.txt
Log:
[compat,->RELEASE_1_2_0] OpenCV dependency definition in cpack has been added. refs #4016
Modified: trunk/ImageProcessing/opencv/CMakeLists.txt
===================================================================
--- trunk/ImageProcessing/opencv/CMakeLists.txt 2017-04-11 06:23:30 UTC (rev 208)
+++ trunk/ImageProcessing/opencv/CMakeLists.txt 2017-04-11 07:50:01 UTC (rev 209)
@@ -49,12 +49,14 @@
OUTPUT_VARIABLE CPACK_DEBIAN_PACKAGE_ARCHITECTURE
OUTPUT_STRIP_TRAILING_WHITESPACE)
message(STATUS "Package manager is ${PKGMGR}. Arch is ${CPACK_DEBIAN_PACKAGE_ARCHITECTURE}.")
+ set(CPACK_DEBIAN_PACKAGE_DEPENDS "libopencv-dev, libcv2.3|libcv2.4, libcvaux2.3|libcvaux2.4, libhighgui2.3|libhighgui2.4")
endif()
if(${PKGMGR} MATCHES "RPM")
execute_process(COMMAND uname "-m"
OUTPUT_VARIABLE CPACK_RPM_PACKAGE_ARCHITECTURE
OUTPUT_STRIP_TRAILING_WHITESPACE)
message(STATUS "Package manager is ${PKGMGR}. Arch is ${CPACK_RPM_PACKAGE_ARCHITECTURE}.")
+ set(CPACK_RPM_PACKAGE_REQUIRES "opencv-devel")
endif()
endif()
openrtm-commit メーリングリストの案内