<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
<div class="moz-cite-prefix">On 2019-10-03 5:24 p.m., Kyle Edwards
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1570137876.3676.12.camel@kitware.com">
<pre class="moz-quote-pre" wrap="">On Thu, 2019-10-03 at 17:08 -0400, stefan wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Yes, that is exactly what I'm trying to do, but it doesn't seem to
have any effect. That is, `dpkg --info ...` doesn't list the
additional dependency, and correspondingly, running `apt-get install
...` on the component package file will install the package without
first installing the prerequisite component.
Consider this declaration:
set(CPACK_COMPONENTS_ALL runtime development mstool)
If I now write
set(CPACK_COMPONENT_DEVELOPMENT_DEPENDS runtime)
I will see no effect. That is, the "development" package still does
not depend on the "runtime" package.
So I try this:
set(CPACK_COMPONENT_DEVELOPMENT_DEPENDS RUNTIME)
in case capitalization is required. Now the "runtime" component seems
to get packaged twice (as per the cmake logs), but still no correct
dependencies.
Is it time for a bug report ?
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">
Please send us a minimal CMakeLists.txt that reproduces the issue.</pre>
</blockquote>
<p>Sure. Here it is. The relevant line part is line 5. Please let me
know what I'm doing wrong.<br>
</p>
<p>Thanks,</p>
<div class="moz-signature">
<div class="moz-signature"><img moz-do-not-send="false"
src="cid:part1.32FC4A2E.C64A6683@seefeld.name" alt="Stefan"
width="73" height="45"><br>
<pre>--
...ich hab' noch einen Koffer in Berlin...
</pre>
</div>
</div>
</body>
</html>