[openrtm-commit:02567] r208 - trunk/ImageProcessing/opencv/components/CameraViewer/src
openrtm @ openrtm.org
openrtm @ openrtm.org
2017年 4月 11日 (火) 15:23:30 JST
Author: miyamoto
Date: 2017-04-11 15:23:30 +0900 (Tue, 11 Apr 2017)
New Revision: 208
Modified:
trunk/ImageProcessing/opencv/components/CameraViewer/src/CMakeLists.txt
Log:
[compat,bugfix,->RELEASE_1_2_0] bug fix. refs #4017
Modified: trunk/ImageProcessing/opencv/components/CameraViewer/src/CMakeLists.txt
===================================================================
--- trunk/ImageProcessing/opencv/components/CameraViewer/src/CMakeLists.txt 2017-04-11 02:58:34 UTC (rev 207)
+++ trunk/ImageProcessing/opencv/components/CameraViewer/src/CMakeLists.txt 2017-04-11 06:23:30 UTC (rev 208)
@@ -9,9 +9,11 @@
find_package(PkgConfig)
if(PKG_CONFIG_FOUND)
PKG_CHECK_MODULES(GTK gtk+-2.0)
- if(${GTK_VERSION} VERSION_EQUAL 2.24.30)
- add_definitions(-DSTARTWINDOWTHREAD_DISABLE)
- endif(${GTK_VERSION} VERSION_EQUAL 2.24.30)
+ if(GTK_VERSION)
+ if(${GTK_VERSION} VERSION_EQUAL 2.24.30)
+ add_definitions(-DSTARTWINDOWTHREAD_DISABLE)
+ endif(${GTK_VERSION} VERSION_EQUAL 2.24.30)
+ endif(GTK_VERSION)
endif(PKG_CONFIG_FOUND)
endif(UNIX)
openrtm-commit メーリングリストの案内