[Cmake] Link Lib Bug?
John Biddiscombe
jbiddiscombe at skippingmouse.co.uk
Sat Jun 2 03:26:56 EDT 2001
The Library commands in cmake appear to be a bit unselective. I'm dumping
out the lib linked to by each target...
example
Mace_LINK_LIB = \
C:/PROGRA~1/Tcl/bin/tcl83.lib \
opengl32 \
C:/Program Files/Tcl/lib/tk82.lib \
vtkCommon \
vtkFiltering \
vtkImaging \
vtkGraphics \
vtkRendering
vtkRendering_LINK_DIR = \
C:/PROGRA~1/Tcl/bin/tcl83.lib \
opengl32 \
C:/Program Files/Tcl/lib/tk82.lib \
vtkCommon \
vtkFiltering \
vtkImaging \
vtkGraphics
Mace and Rendering are linking to tcl and tk when these are selected. This
is wrong. How do I stop this? (Only the Rendering_TCL should be doing this).
[Should the ADD_LIBRARY(stuff) command have the target(s) specified?]
[NB. I may be doing something wrong, in which case please correct me!]
thanks
JB
More information about the CMake
mailing list