summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Component.cc2
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;
}