diff options
author | Bart Vanhauwaert <bart@grafitroniks.fr> | 2010-08-02 14:15:19 +0200 |
---|---|---|
committer | Bart Vanhauwaert <bart@grafitroniks.fr> | 2010-08-02 14:15:19 +0200 |
commit | d65805cbd033f232ce306454ea68f7cd34e0e361 (patch) | |
tree | 3c39fd4245a4b933c1aad22990fec0569b7fc103 | |
parent | New toNativePath(std::string) method that converts from canonical path names (diff) | |
download | bldit-d65805cbd033f232ce306454ea68f7cd34e0e361.tar.xz bldit-d65805cbd033f232ce306454ea68f7cd34e0e361.zip |
Convert header file names to native paths before checking if they exist
-rw-r--r-- | Component.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Component.cc b/Component.cc index db6ccd6..2be956d 100644 --- a/Component.cc +++ b/Component.cc @@ -184,7 +184,7 @@ void HeaderOnlyComponent::writeSystemConfiguration(SharedPtr<ConfiguredComponent bool HeaderOnlyComponent::works(const std::string& IncludeDir) { for (unsigned int i=0; i<Headers.size(); ++i) - if (!fileExists(pathAppend(IncludeDir,Headers[i]))) + if (!fileExists(pathAppend(IncludeDir,toNativePath(Headers[i])))) return false; return true; } |