<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello Eric<br>
<br>
Thanks a lot! It works!<br>
<br>
I made a feature request (<a
href="http://public.kitware.com/Bug/view.php?id=7904" target="_blank">http://public.kitware.com/<wbr>Bug/view.php?id=7904</a>).
Please attach your updated CPackRPM.cmake to it.<br>
<br>
David<br>
<font color="#888888"><br>
<br>
</font><br>
Eric Noulard wrote:
<blockquote
cite="mid:cbe23c50810301125t45ba0cbna0f97c84b35a8410@mail.gmail.com"
type="cite">
<pre wrap="">2008/10/30 David Graf <a class="moz-txt-link-rfc2396E" href="mailto:david.graf@28msec.com"><david.graf@28msec.com></a>:
</pre>
<blockquote type="cite">
<pre wrap="">Hello
I would like to add a dependency to a RPM packages that is generated by
CPack 2.6 manually. Is this possible (similar to the DEB solution that is
setting the variable CPACK_DEBIAN_PACKAGE_DEPENDS)?
</pre>
</blockquote>
<pre wrap=""><!---->
No currently, there is no such feature.
However Would you try to replace the CPackRPM.cmake file
currently installed on your system with the one attached to this mail.
Then try to define
CPACK_RPM_PACKAGE_REQUIRES in your CMakeLists.txt
with the appropriate value.
The rebuild your RPM with cpack.
Then verify that the dependency is properly set using:
rpm -qpR <yourrpm>.rpm
If all this did go smooth, would you be kind enough to
file a feature request in the bug tracker and I'll try to make the update
if the CMake dev team is interested.
If it does not work for you,
please file a feature request :=)
I'll try harder.
</pre>
</blockquote>
<br>
</body>
</html>