In 2.4.7, the relocatable part of the info.plist file was hard-coded to "false".<br><br><div>So it's still a mystery to me why it should end up blank for you...</div><div><br></div><div><br><div class="gmail_quote">
On Tue, Apr 15, 2008 at 1:14 PM, Timenkov Yuri <<a href="mailto:ytimenkov@parallels.com">ytimenkov@parallels.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="Ih2E3d">On Tuesday 15 April 2008 20:56:11 David Cole wrote:<br>
> Something must be wrong with your build tree or your CMake installation.<br>
> This is from the CMake 2.4.8 Modules/CPack.cmake file:<br>
</div>Ah, this seems a bug :(<br>
<br>
In CMake 2.4.7 there are no such lines.<br>
<div class="Ih2E3d"><br>
><br>
> cpack_set_if_not_set(CPACK_PACKAGE_RELOCATABLE "false")<br>
</div>The other reason may be that I don't use CPack.cmake. I run cpack<br>
with --config option, and build directory specified there. That is I don't<br>
put include(cpack) line into my cmakelists.<br>
<br>
I don't know whether cpack reads CMakeCache.txt when it is ran in this mode.<br>
(I suppose it doesn't).<br>
<div><div></div><div class="Wj3C7c"><br>
><br>
><br>
> # always force to exactly "true" or "false" for <a href="http://CPack.Info.plist.in" target="_blank">CPack.Info.plist.in</a>:<br>
><br>
> if(CPACK_PACKAGE_RELOCATABLE)<br>
><br>
> set(CPACK_PACKAGE_RELOCATABLE "true")<br>
><br>
> else(CPACK_PACKAGE_RELOCATABLE)<br>
><br>
> set(CPACK_PACKAGE_RELOCATABLE "false")<br>
><br>
> endif(CPACK_PACKAGE_RELOCATABLE)<br>
><br>
><br>
> If CPACK_PACKAGE_RELOCATABLE is set to something other than "true" or<br>
> "false" at CPack time, then something very odd is happening....<br>
><br>
> If you start over with an empty build tree, do you get this same result?<br>
><br>
><br>
> On Tue, Apr 15, 2008 at 5:27 AM, Timenkov Yuri <<a href="mailto:ytimenkov@parallels.com">ytimenkov@parallels.com</a>><br>
><br>
> wrote:<br>
> > Hi everyone.<br>
> > This is just FYI.<br>
> ><br>
> > I'm started to playing with CPack (2.4) for Apple (Tiger 10.4,<br>
> > PackageMaker<br>
> > v2.1.1), and encountered very strange error:<br>
> > CPack: Compress package<br>
> ><br>
> > The package could not be created because of the following errors:<br>
> > No package identifier specified.<br>
> ><br>
> > While investigating causes of such strange behavior of PackageMaker I<br>
> > came to<br>
> > idea that cpack generates invalid XML file Info.plist. And does it<br>
> > because CPACK_PACKAGE_RELOCATABLE variable is not set. Moreover, it<br>
> > should be set to<br>
> > string value in lowercase.<br>
> ><br>
> > Regards, Yuri<br>
> > _______________________________________________<br>
> > CMake mailing list<br>
> > <a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br>
> > <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
<br>
<br>
</div></div></blockquote></div><br></div>