<div>Hello, i use CPack to pack my project.</div>
<div> </div>
<div>I use components (cpack_add_component) in it, and i do some links in start menu using &quot;set(CPACK_NSIS_MENU_LINKS ...)&quot;.</div>
<div> </div>
<div>But, i want to make the link for example &quot;Documentation&quot; only if the component &quot;Documentation&quot; is checked.</div>
<div> </div>
<div>How i can do this trick ?</div>
<div> </div>
<div>Regards.</div>
<div> </div>
<div>Vincent</div>