[CMake] Missing install target on Unix

Brad King brad.king at kitware.com
Wed Nov 9 10:36:58 EST 2005


andrew.blose at kodak.com wrote:
> I have a CMake project that works fine on WIN32 for multiple compilers. 
> It contains a few install commands (INSTALL_TARGETS, INSTALL_FILES) that 
> create the INSTALL project in the Visual Studio IDE. Works fine.
> 
> On Solaris I expected the makefiles from this project to have an 
> "install" target but that's not the case. A "make help" indicates that 
> an install target should be present but it isn't. All other features of 
> the makefile are present and functional. Cmake itself completes without 
> error. It's probably something fundamental but perhaps not obvious. None 
> of the INSTALL commands are in IF(WIN32) conditionals etc.
> 
> Thanks in advance for any light that can be shed on this.

Running "make install" from the top-level directory doesn't work? 
Please send me the top-level "Makefile".  Also, what version of CMake 
are you using?

-Brad


More information about the CMake mailing list