[CMake] INSTALL command doesn't behave as documented

Brad King brad.king at kitware.com
Mon Aug 21 10:02:41 EDT 2006


Alan W. Irwin wrote:
> software at chickadee> make install
> Install the project...
> -- Install configuration: ""
> CMake Error: Error in cmake code at
> /home/software/plplot_cvs/HEAD/test_cmake/cmake_install.cmake:30:
> FILE INSTALL option RENAME may be used only with FILES.
> Current CMake stack:
> /home/software/plplot_cvs/HEAD/test_cmake/cmake_install.cmake
> make: *** [install] Error 255
> 
> Thomas, as a temporary workaround for this bug you can use install(FILES
> ...
> ) instead.  RENAME works fine for me in that case.
> 
> install(FILES ... ) is documented as identical to install(PROGRAMS .... )
> except for the default permissions which you can override to be what you
> need for executables.

Please submit bug reports here:

http://www.cmake.org/Bug

Thanks,
-Brad


More information about the CMake mailing list