]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
Fix to build by CMAKE with VTK-6.0
authorakl <akl@opencascade.com>
Mon, 11 Mar 2013 13:57:47 +0000 (13:57 +0000)
committerakl <akl@opencascade.com>
Mon, 11 Mar 2013 13:57:47 +0000 (13:57 +0000)
salome_adm/cmake_files/deprecated/am2cmake.py

index f33a510bc44a59e78bca584408c8a4bcf74c699c..b8551936df8cb67c8b6b473b2a3edc89d6d50084 100644 (file)
@@ -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",