]> git.tdb.fi Git - builder.git/blobdiff - source/csourcefile.cpp
Deprecate the headers component type
[builder.git] / source / csourcefile.cpp
index 3c3aad935f965e7c039ad68bbe3d7419afb832f6..e2b029a0d1f7080d29a409f7962356db6799c966 100644 (file)
@@ -19,7 +19,7 @@ CSourceFile::CSourceFile(Builder &b, const Component &c, const FS::Path &p):
 {
        string ext = FS::extpart(FS::basename(path));
        if(ext==".h" || ext==".H" || ext==".hpp")
-               install_location = FS::Path("include")/component->get_name();
+               install_location = FS::Path("include")/package->get_name();
 }
 
 void CSourceFile::find_depends()