]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
portability vtk 4.4
authoradam <adam>
Tue, 7 Jun 2005 08:26:46 +0000 (08:26 +0000)
committeradam <adam>
Tue, 7 Jun 2005 08:26:46 +0000 (08:26 +0000)
salome_adm/unix/config_files/check_vtk.m4

index 066aeb1ca760e36460b93e46182c352043a6cc3a..cf1efb6b117b653f4054641f0aace9afc32cd9dc 100644 (file)
@@ -72,6 +72,11 @@ if test ! -z $VTKHOME
 then
    LOCAL_INCLUDES="-I$VTKHOME/include/vtk $LOCAL_INCLUDES"
    LOCAL_LIBS="-L$VTKHOME/lib/vtk $LOCAL_LIBS"
+   dnl E.A. : On mandrake 10.2 with vtk4.4, the libvtk*Python.so
+   dnl E.A. : are separated ...
+   if test -d $VTKHOME/lib/vtk/python ; then
+      LOCAL_LIBS="-L$VTKHOME/lib/vtk/python $LOCAL_LIBS"
+   fi
    TRY_LINK_LIBS="-L$VTKHOME/lib/vtk $TRY_LINK_LIBS"
 fi