<html><body><div>>> By the way could you try 2.8.8 instead of 2.8.7 ?<br>Yes, I will try it tomorrow (I read the changelog http://www.cmake.org/files/v2.8/CMakeChangeLog-2.8.8 but I can't find any details where this behavior may be fixed)<br>Because on our Buildserver CMake 2.8.7 is installed and if no relevant changes are made in 2.8.8, then I would be happy if I could retain the CMake 2.8.7 installation (Never change a running system ;-))<br><br>But I will try 2.8.8 on the workstation and send you the output from 2.8.7 ("--verbose --debug").<br><br>Best Regards<br></div><div><br>Am 09. Mai 2012 um 11:31 schrieb Eric Noulard <eric.noulard@gmail.com>:<br><br><div><blockquote type="cite"><div class="msg-quote"><div class="_stretch">2012/5/9 <<a href="mailto:norulez@me.com" data-mce-href="mailto:norulez@me.com">norulez@me.com</a>>:<br> >>> Is it the case? Is there any file in _CPack_Packages\win32\NSIS\MyProject<br> >>> ?<br> > No, there aren't any files<br> ><br> ><br> >>> Could you copy/paste the exact message you get and may be running cpack<br> >>> on the command line with ---verbose and --debug.<br> > Sure, but I can only do so tomorrow<br> ><br> ><br> >>> Nope normally you don't but what are you doing in your<br> >>> "CPackConfig.cmake.in" ?<br> > I only set the CPACK variables and additional variables which are used in<br> > the NSIS.template.in file.<br> > Because if I don't use the custom CPackConfig.cmake.in file then the<br> > variables in the NSIS.template.in files aren't resolved.<br> <br> Please send us those files.<br> As usual the devil may be in the details.<br> <br> >>> And do you have any INSTALL(CODE or INSTALL(SCRIPTS in your project?<br> > Yes, i use this for the BundleUtilities like in the BundleUtilities example<br> ><br> > INSTALL(CODE "<br> > file(GLOB_RECURSE SHARED_LIBS<br> > \"\${CMAKE_INSTALL_PREFIX}/*${CMAKE_SHARED_LIBRARY_SUFFIX}\")<br> > include(BundleUtilities)<br> > fixup_bundle(\"${APPS}\" \"\${SHARED_LIBS}\" \"${DIRS}\")<br> > " COMPONENT Runtime)<br> <br> I'm not a BundleUtilities user but code like that may break with CPack because<br> CPack may internally use DESTDIR to do its local installation so that<br> one should usually write:<br> <br> $ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}<br> rather than<br> ${CMAKE_INSTALL_PREFIX}<br> <br> however since you have NO file at all in the local CPack install dir,<br> the problem is elsewhere.<br> <br> By the way could you try 2.8.8 instead of 2.8.7 ?<br> <br> -- <br> Erk<br> Le gouvernement représentatif n'est pas la démocratie --<br> <a href="http://www.le-message.org" data-mce-href="http://www.le-message.org">http://www.le-message.org</a><br></div></div></blockquote></div></div></body></html>