Hi Eric.<div><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><br>
</div></div>Do you mean that inside "CPackConfig.cmake" the value you(ve set before<br>
"INCLUDE(CPack)" are not used?<br>
<br></blockquote><div><br></div><div>That is correct.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
> Am I overlooking something?<br>
<br>
Not something obvious I think.<br>
Could it be possible that INCLUDE(CPack) has been called by a subproject<br>
before you actually do it in your main CMakeLists.txt?<br>
<br></blockquote><div><br></div><div>Nope, there is only one CMakeLists.txt file and the CPack text is at the end of it.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Which CPack generator are you using?<br></blockquote><div><br></div><div>PackageMaker</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Not all of them use CPACK_RESOURCE_* vars.<br>
<br>
Could you try from a "fresh" build tree in order to avoid potential<br>
cache effect.<br></blockquote><div><br></div><div>I have deleted the cache and the gemerated CPack files several times without effect. </div><div>BTW, also the CPACK_PACKAGE_VERSION_MAJOR, CPACK_PACKAGE_VERSION_MINOR, and CPACK_PACKAGE_VERSION_PATCH variables are skipped and those should not be generator-dependent.</div>
<div><br></div><div>Cheers.</div><div><br></div><div>--</div><div>Paolo</div><div><br></div></div></div>