Description | I am currently using CMake 2.0.3 on a Solaris platform. I would like to install the same target at several places in the installation tree, by using several INSTALL_TARGET commands, e.g.
INSTALL_TARGET(/usr/bin myprogram)
INSTALL_TARGET(/usr/local/bin myprogram)
This does not work, only the last written command is executed by "make install".
I consider it as a bug since INSTALL_FILES and INSTALL_PROGRAMS does not have this restriction and there is no documentation saying that INSTALL_TARGET has this restriction. In addition I cannot see any good reason for why INSTALL_TARGET should not be used for multiple installations of the same target. |