From 8669e04b6790bed23855520812026a04d82a6aed Mon Sep 17 00:00:00 2001 From: akl Date: Mon, 11 Mar 2013 13:57:47 +0000 Subject: [PATCH] Fix to build by CMAKE with VTK-6.0 --- salome_adm/cmake_files/deprecated/am2cmake.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/salome_adm/cmake_files/deprecated/am2cmake.py b/salome_adm/cmake_files/deprecated/am2cmake.py index f33a510bc..b8551936d 100644 --- a/salome_adm/cmake_files/deprecated/am2cmake.py +++ b/salome_adm/cmake_files/deprecated/am2cmake.py @@ -128,6 +128,11 @@ class CMakeFile(object): # -- content = content.replace("../NETGEN/libNETGEN.la", "${NETGEN_LIBS}") + # -- + # Compatibility VTK 6.0 + # -- + content = content.replace("VTK_LIBS", "VTK_LIBRARIES") + # -- cas_list = [ "BinLPlugin", @@ -204,6 +209,7 @@ class CMakeFile(object): "vtkGraphicsPythonD", "vtkImagingPythonD", "vtkPythonCore", + "vtkIOImage", ] kernel_list = [ "CalciumC", -- 2.39.2