<HTML>
Hello CMake group,<BR>
<BR>
I'm trying to do a component-based install that will produce multiple packages, where one package depends on another. I am using cmake version 2.8.12.1. Have multiple packages working well but the dependencies have not been easy.<BR>
<BR>
The variable CPACK_COMPONENT_<compName>_DEPENDS, given by the command `cpack --help-variable-list`, as far as I can tell, does nothing. Surprisingly, what ended up doing the trick on an RPM-based system is:<BR>
<BR>
SET(CPACK_RPM_gui_PACKAGE_REQUIRES "my-lib >= 0.1.1")<BR>
<BR>
Why does this work? This is inconsistent with the documentation. <BR>
<BR>
The bigger problem, I'm trying to solve at the moment, is how to make component dependencies work on Debian. I have tried every combination of cpack variable + component name and nothing stops an install with a message like, "Unable to install gui because it depends on my-lib" (because my-lib doesn't exist so it should halt the installer).<BR>
<BR>
Does component-based install even work for Debian (actually, I'm on ubuntu but whatever)? I saw about two references to it on the entire Internet so a good resource is hard to find, currently. It would be idea if I can use CPACK_COMPONENT_<compName>_DEPENDS for both deb and rpm but as I said, it doesn't work.<BR>
<BR>
<BR>
Thank you for any help/guidance. <BR>
<BR>
Jeff<BR>
<BR>
<BR>
</HTML>
<BR>