summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2001-05-23 15:31:43 (GMT)
committerKen Martin <ken.martin@kitware.com>2001-05-23 15:31:43 (GMT)
commitdbebd0a276490134b9df38cc3c69b1104f2ea71a (patch)
tree5fe00a12d37fad05dfc91ceef58d6ef3e5763d27 /Source/cmTarget.cxx
parentfdb3d30dca08b90b8db5186fb8bcdc424984d6db (diff)
downloadCMake-dbebd0a276490134b9df38cc3c69b1104f2ea71a.zip
CMake-dbebd0a276490134b9df38cc3c69b1104f2ea71a.tar.gz
CMake-dbebd0a276490134b9df38cc3c69b1104f2ea71a.tar.bz2
added install rules
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 77d0cce..2472b34 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -43,6 +43,12 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
void cmTarget::GenerateSourceFilesFromSourceLists(const cmMakefile &mf)
{
+ // this is only done for non install targets
+ if (this->m_TargetType == cmTarget::INSTALL)
+ {
+ return;
+ }
+
// for each src lists add the classes
for (std::vector<std::string>::const_iterator s = m_SourceLists.begin();
s != m_SourceLists.end(); ++s)