error in vtkLocal with BUILD_SHARED_LIBS=ON
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
Hello I have an error when trying to build the example Examples/Build/vtkLocal outside the vtk build tree with BUILD_SHARED_LIBS=ON. My VTK was built with TCL wrapping ON. This bug has being also mentioned at http://stackoverflow.com/questions/19918691/how-do-i-build-the-vtklocal-example-with-shared-libraries-on
If I remove the string -lTCL manually from the command line used to build the lib then shared lib is created correctly (I discovered the command line passing VERBOSE=1 to make).
I have test it with VTK 6.1.0 and cmake version 2.8.9.
Here I attach the CMakeCache.txt and the modified CMakeList.txt with BUILD_SHARED_LIBS=ON