[CMake] Question about INSTALL_TARGETS error

Brad King brad.king at kitware.com
Tue Jun 13 06:22:19 EDT 2006


kdsfinger at gmail.com wrote:
> hi, all
> 
> I am using GUISupport/Qt come with the vtk5.0 and try to compile with
> cmake but get the following error message:
> 
> CMake Error: Error in cmake code at
> /home/me/vtk/VTK/GUISupport/Qt/CMakeLists.txt:183:
> INSTALL_TARGETS called with incorrect number of arguments
[snip]
>  INSTALL_TARGETS( ${VTK_INSTALL_LIB_DIR} QVTK ) # !!! Line 183, error 
> here!!!

The variable is supposed to contain the install destination.  If it does 
not then you are probably not building all of VTK.  You need to build 
VTK using the top level source directory.

-Brad


More information about the CMake mailing list