]> git.tdb.fi Git - builder.git/blobdiff - source/csourcefile.cpp
Make install_location a path
[builder.git] / source / csourcefile.cpp
index 824027890fa940c36c0bcd47de0f3bdc1adcbcfa..3c3aad935f965e7c039ad68bbe3d7419afb832f6 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 = "include/"+component->get_name();
+               install_location = FS::Path("include")/component->get_name();
 }
 
 void CSourceFile::find_depends()