[openrtm-commit:03199] r219 - trunk/ImageProcessing/opencv/components

openrtm @ openrtm.org openrtm @ openrtm.org
2018年 2月 28日 (水) 09:06:09 JST


Author: miyamoto
Date: 2018-02-28 09:06:09 +0900 (Wed, 28 Feb 2018)
New Revision: 219

Modified:
   trunk/ImageProcessing/opencv/components/CMakeLists.txt
Log:
modified CMakeLists.txt

Modified: trunk/ImageProcessing/opencv/components/CMakeLists.txt
===================================================================
--- trunk/ImageProcessing/opencv/components/CMakeLists.txt	2018-02-28 00:05:49 UTC (rev 218)
+++ trunk/ImageProcessing/opencv/components/CMakeLists.txt	2018-02-28 00:06:09 UTC (rev 219)
@@ -12,8 +12,10 @@
 add_subdirectory(Chromakey)
 add_subdirectory(Dilationerosion)
 
+
+
 if (WIN32)
-  if ($ENV{VC_VERSION} MATCHES "10" OR $ENV{VC_VERSION} MATCHES "9")
+  if (${CMAKE_GENERATOR} MATCHES [[Visual Studio (9|10) (2008|2010)(| Win64| ARM)]])
     if(DIRECTSHOW_FOUND)
       add_subdirectory(DirectShowCam)
     endif()



More information about the openrtm-commit mailing list