<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font size="-1"><tt>Hello everyone,</tt></font></p>
<p><font size="-1"><tt><br>
is it possible for plasma_install_package found inside a
CMakeLists.txt file to install a component (plasmoid,
containment, etc.) from an absolute path?<br>
</tt></font></p>
<p><font size="-1"><tt><br>
The issue is the following: In Latte plasmoid we make through
CMake some adjustments in our plasmoid code and add it in the
cmake "build" directory afterwards. For easiness afterwards we
are using plasma_install_package to install that plasmoid and
until now we were using a static reference to that plasmoid in
our build directory, for example,</tt></font></p>
<p><font size="-1"><tt>plasma_install_package(build/plasmoid/release
org.kde.latte.plasmoid)</tt></font></p>
<p><font size="-1"><tt>problem is that in that way we cant use
kdesrc-build... I tried:</tt></font></p>
<p><br>
<font size="-1"><tt>plasma_install_package(${CMAKE_CURRENT_BINARY_DIR}/plasmoid/release
org.kde.latte.plasmoid)</tt></font></p>
<p><font size="-1"><tt><br>
</tt></font></p>
<p><font size="-1"><tt>but as it appears the plasma_install_package
adds by default the absolute path of the latte source code and
the above command fails...</tt></font></p>
<p><font size="-1"><tt><br>
</tt></font></p>
<p><font size="-1"><tt>any ideas,</tt></font></p>
<p><font size="-1"><tt><br>
</tt></font></p>
<p><font size="-1"><tt>regards,</tt></font></p>
<p><font size="-1"><tt>michail<br>
</tt></font></p>
</body>
</html>