diff options
-rw-r--r-- | Component.cc | 1 | ||||
-rw-r--r-- | Component.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Component.cc b/Component.cc index 9bb26bf..db6ccd6 100644 --- a/Component.cc +++ b/Component.cc @@ -265,6 +265,7 @@ SharedPtr<ConfiguredComponent> LinkComponent::readFromSystemConfiguration(const void LinkComponent::writeSystemConfiguration(SharedPtr<ConfiguredComponent> CC, const Configurable& UseIn) { + HeaderOnlyComponent::writeSystemConfiguration(CC, UseIn); Project::it().systemConfiguration().configureKey(name()+uniqueString(UseIn)+".librarydir",CC->linkDirectories()); Project::it().systemConfiguration().configureKey(name()+uniqueString(UseIn)+".linkpart",CC->linkParts()); } diff --git a/Component.h b/Component.h index 7ed683d..58d7555 100644 --- a/Component.h +++ b/Component.h @@ -61,10 +61,10 @@ class HeaderOnlyComponent : public Component protected: virtual SharedPtr<ConfiguredComponent> discoverFor(const Configurable& UseIn); virtual SharedPtr<ConfiguredComponent> readFromSystemConfiguration(const Configurable& UseIn); + virtual void writeSystemConfiguration(SharedPtr<ConfiguredComponent> CC, const Configurable& UseIn); virtual std::string uniqueString(const Configurable& UseIn); private: - virtual void writeSystemConfiguration(SharedPtr<ConfiguredComponent> CC, const Configurable& UseIn); virtual bool matches(SharedPtr<ConfiguredComponent> CC, const Configurable& UseIn); bool works(const std::string& IncludeDir); |