[openrtm-commit:03078] r217 - trunk/ImageProcessing/opencv
openrtm @ openrtm.org
openrtm @ openrtm.org
2018年 1月 18日 (木) 18:42:19 JST
Author: kawauchi
Date: 2018-01-18 18:42:19 +0900 (Thu, 18 Jan 2018)
New Revision: 217
Modified:
trunk/ImageProcessing/opencv/CMakeLists.txt
Log:
[compat,->RELEASE_1_2_0] Supported Raspbian. refs #4404
Modified: trunk/ImageProcessing/opencv/CMakeLists.txt
===================================================================
--- trunk/ImageProcessing/opencv/CMakeLists.txt 2017-09-19 08:15:36 UTC (rev 216)
+++ trunk/ImageProcessing/opencv/CMakeLists.txt 2018-01-18 09:42:19 UTC (rev 217)
@@ -11,7 +11,7 @@
set(${ARG0} ${CMAKE_SYSTEM_NAME} PARENT_SCOPE)
return()
endif()
- foreach(dist Debian Ubuntu RedHat Fedora CentOS)
+ foreach(dist Debian Ubuntu RedHat Fedora CentOS Raspbian)
execute_process(
COMMAND grep ${dist} -s /etc/issue /etc/os-release /etc/redhat-release /etc/system-release
OUTPUT_VARIABLE dist_name
@@ -26,7 +26,8 @@
function(get_pkgmgr ARG0)
get_dist(DIST_NAME)
if(${DIST_NAME} MATCHES "Debian" OR
- ${DIST_NAME} MATCHES "Ubuntu")
+ ${DIST_NAME} MATCHES "Ubuntu" OR
+ ${DIST_NAME} MATCHES "Raspbian")
set(${ARG0} "DEB" PARENT_SCOPE)
return()
endif()
More information about the openrtm-commit
mailing list