(0033138)
|
Modestas Vainius
|
2013-05-27 12:36
|
|
Hello,
the variable would typically be used to install a new plugin. Since a new plugin is independent, it should not require actual presence of other unrelated plugins (even if they are typically installed by default which does not hold in case of distro splits). So you can just create imports directory if it does not exist, install a plugin to it and there is no reason why plugin wouldn't just work afterwards (given actual libraries are present obviously).
You may argue that there should be an empty imports directory present on the system then. However, I kind of don't think that cmake should make a distinction between empty and non-present directory. Especially having in mind that a native qmake returns directory path unconditionally and there isn't much point for cmake to add more logic on top of it, is there? |
|