diff --git a/Packaging/patch_cmake_files.cmake b/Packaging/patch_cmake_files.cmake
index a8a662aa7c9f2a730f777160f23f18f60d992688..49ee420898e2aa1f3ecd402bc4d5c66fba27ee87 100644
--- a/Packaging/patch_cmake_files.cmake
+++ b/Packaging/patch_cmake_files.cmake
@@ -47,17 +47,17 @@ function(patch_cmake_files)
 
   install_without_message("${PATCH_STAGE_DIR}" "lib/cmake")
 
-  file( GLOB otb_opengl
-    "${SUPERBUILD_INSTALL_DIR}/lib/cmake/OTB*/Modules/OTBOpenGL.cmake" )
-  if(EXISTS ${otb_opengl})
-    file(STRINGS "${otb_opengl}" otb_opengl_cmake)
-    set(otb_opengl_cmake_NEW)
-    foreach(line ${otb_opengl_cmake})
-      if( NOT line MATCHES "/usr")
-	list(APPEND otb_opengl_cmake_NEW "${line}\n")
-      endif()
-    endforeach()
-  endif()
-  file(WRITE "${otb_opengl}" ${otb_opengl_cmake_NEW})
+  # file( GLOB otb_opengl
+  #   "${SUPERBUILD_INSTALL_DIR}/lib/cmake/OTB*/Modules/OTBOpenGL.cmake" )
+  # if(EXISTS ${otb_opengl})
+  #   file(STRINGS "${otb_opengl}" otb_opengl_cmake)
+  #   set(otb_opengl_cmake_NEW)
+  #   foreach(line ${otb_opengl_cmake})
+  #     if( NOT line MATCHES "/usr")
+  # 	list(APPEND otb_opengl_cmake_NEW "${line}\n")
+  #     endif()
+  #   endforeach()
+  # endif()
+  # file(WRITE "${otb_opengl}" ${otb_opengl_cmake_NEW})
   
 endfunction()