From: akl Date: Mon, 11 Mar 2013 13:57:47 +0000 (+0000) Subject: Fix to build by CMAKE with VTK-6.0 X-Git-Tag: V7_1_0~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8669e04b6790bed23855520812026a04d82a6aed;p=modules%2Fkernel.git Fix to build by CMAKE with VTK-6.0 --- 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",