View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001481CMakepublic2005-01-14 09:292006-02-19 15:27
Reportergrankis 
Assigned ToBrad King 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0001481: INSTALL_TARGET cannot be used for multiple install locations
DescriptionI 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.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0003755)
Brad King (manager)
2006-02-19 15:17

I'm assigning this bug to myself since I'm about to fix it.
(0003759)
Brad King (manager)
2006-02-19 15:27

Bug#2691 requests a new installation framework. Enough of it has been created to fix this bug which I'm now closing.

 Issue History
Date Modified Username Field Change


Copyright © 2000 - 2018 MantisBT Team