From: Mikko Rasa Date: Sat, 21 Jul 2012 13:50:06 +0000 (+0300) Subject: is_installable is more appropriate here X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=1ff899633e05aa28392c0352ab2d9239d017159e;p=builder.git is_installable is more appropriate here --- diff --git a/source/component.cpp b/source/component.cpp index f4c63a8..a63e3b0 100644 --- a/source/component.cpp +++ b/source/component.cpp @@ -171,7 +171,7 @@ void Component::create_targets() const objs.push_back(obj); } - if(type==LIBRARY && install && !dynamic_cast(src)->get_install_location().empty()) + if(type==LIBRARY && install && dynamic_cast(src)->is_installable()) inst_list.push_back(src); } }