Hello,<br><br>I&#39;m seeking for help for a weird error that is happening to me. <br>I have a cmake project, with a lot of target, two of them are named subproject1_deb, and subproject2_deb<br><br><span style="font-style: italic;">
$ make help:
</span><br style="font-style: italic;"><span style="font-style: italic;">The following are some of the valid targets for this Makefile:</span><br style="font-style: italic;"><span style="font-style: italic;">... all (the default if no target is provided)
</span><br style="font-style: italic;"><span style="font-style: italic;">... clean</span><br style="font-style: italic;"><span style="font-style: italic;">... depend</span><br style="font-style: italic;"><span style="font-weight: bold; font-style: italic;">
... deb</span><br style="font-style: italic;"><span style="font-style: italic;">... edit_cache</span><br style="font-style: italic;"><span style="font-style: italic;">... install
</span><br style="font-style: italic;"><span style="font-style: italic;">... install/local</span><br style="font-style: italic;"><span style="font-style: italic;">... list_install_components</span><br style="font-style: italic;">
<span style="font-style: italic;">... package</span><br style="font-style: italic;"><span style="font-style: italic;">... package_source</span><br style="font-style: italic;"><span style="font-style: italic;">... rebuild_cache
</span><br style="font-style: italic;"><span style="font-style: italic;">... deb_destdir_install</span><br style="font-style: italic;"><span style="font-weight: bold; font-style: italic;">... hugr_deb</span><br style="font-weight: bold; font-style: italic;">

<span style="font-weight: bold; font-style: italic;">... iplimage_deb</span><br><br>The deb target is declared as the following:<br><br><span style="font-style: italic;">ADD_CUSTOM_TARGET ( deb</span><br style="font-style: italic;">
<span style="font-style: italic;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; DEPENDS subproject1_deb, subproject2_deb ) 
</span><br style="font-style: italic;"><br>but when I try to make the deb target, here the error I get:<br><br><span style="font-style: italic;">Built target subproject1_deb<br></span><span style="font-style: italic;">make[3]: *** No rule to build target « ../subproject2_deb, », needed for « CMakeFiles/deb ». Stop.
</span> (translated)<br style="font-style: italic;">
<br style="font-style: italic;"><span style="font-style: italic;"></span>But, when I type <span style="font-style: italic;">make subproject2_deb</span>, everything is ok.<br><br style="font-style: italic;">Do you have a clue of what am I doing wrong ?
<br>I am using a script to generate subprojects_deb (debian packages). <a href="http://vtk.org/Wiki/CMakeUserUseDebian">http://vtk.org/Wiki/CMakeUserUseDebian</a><br><br>Regards,<br>--<br>Mehdi<br><br>