浏览代码

ENH: added to handle case in very old odd versions of VTK

Ken Martin 19 年之前
父节点
当前提交
97b1963fd7
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Modules/VTKCompatibility.cmake

+ 2 - 0
Modules/VTKCompatibility.cmake

@@ -17,3 +17,5 @@ SET(VTK_GLXEXT_FILE "${VTK_SOURCE_DIR}/Utilities/ParseOGLExt/headers/glxext.h" C
 SET(VTK_WGLEXT_FILE "${VTK_SOURCE_DIR}/Utilities/ParseOGLExt/headers/wglext.h" CACHE FILEPATH
   "Location of the WGL extensions header file (wglext.h).")
 
+# work around an old bug in VTK
+SET(TIFF_RIGHT_VERSION 1)