[vtkusers] cmake error: SET_TARGET_PROPERTIES

Peter J. Carr pjc at hootenanny.org
Tue Jan 14 19:14:29 EST 2003


I am trying to build vtk using latest CVS checkout on a MacOS X
(10.2).
I get the following error when wrapping tcl.

    CMake Error: unknown CMake command:SET_TARGET_PROPERTIES
    Reading cmake file in directory:/Users/pjc/Projects/VTK/Rendering

Here is a snippet from Rendering/CMakeLists.txt
   IF (APPLE)
     ADD_LIBRARY(vtkRenderingTCL SHARED vtkOSXRenderingTclInit.c 
${RenderingTCL_SRCS})
     SET_TARGET_PROPERTIES(vtkRenderingTCL PROPERTIES LINK_FLAGS "-init 
_oft_initRenOSXInit")

   ELSE (APPLE)
     ADD_LIBRARY(vtkRenderingTCL ${RenderingTCL_SRCS})
   ENDIF (APPLE)

Where can I find out more about CMake so that I can debug this problem?
Does anyone have a suggestion for how to get this build to proceed 
without error?

thanks,
Peter Carr











More information about the vtkusers mailing list