On 28/06/2012 11:20, Eric Noulard wrote:
2012/6/27 David Demelier :
Thanks for your help, it worked!
Now, the last problem, I noticed that CPACK_PACKAGE_EXECUTABLES you
can't set an icon, thus I used my own CreateShortCut and Delete with
respectively CPACK_NSIS_CREATE_ICONS_EXTRA and
CPACK_NSI
2012/6/27 David Demelier :
>
> Thanks for your help, it worked!
>
> Now, the last problem, I noticed that CPACK_PACKAGE_EXECUTABLES you
> can't set an icon, thus I used my own CreateShortCut and Delete with
> respectively CPACK_NSIS_CREATE_ICONS_EXTRA and
> CPACK_NSIS_DELETE_ICONS_EXTRA. The first
2012/6/27 Eric Noulard :
> 2012/6/27 David Cole :
>>> Demelier David
>>
>>
>> You can try:
>>
>> set(CPACK_NSIS_EXECUTABLES_DIRECTORY ".")
>>
>> before you include(CPack).
>>
>> This bug ( http://public.kitware.com/Bug/view.php?id=7828 ) was
>> resolved by adding the CPACK_NSIS_EXECUTABLES_DIRECTO
2012/6/27 David Cole :
>> Demelier David
>
>
> You can try:
>
> set(CPACK_NSIS_EXECUTABLES_DIRECTORY ".")
>
> before you include(CPack).
>
> This bug ( http://public.kitware.com/Bug/view.php?id=7828 ) was
> resolved by adding the CPACK_NSIS_EXECUTABLES_DIRECTORY variable in
> this commit:
In addi
On Wed, Jun 27, 2012 at 9:07 AM, David Demelier
wrote:
> 2012/6/27 David Cole :
>> It's because you're using (in essence):
>>
>> DESTINATION ${CMAKE_INSTALL_PREFIX}
>>
>> for your install rules.
>>
>> Try "DESTINATION ." instead. The DESTINATION is automatically under
>> CMAKE_INSTALL_PREFIX when
2012/6/27 David Cole :
> It's because you're using (in essence):
>
> DESTINATION ${CMAKE_INSTALL_PREFIX}
>
> for your install rules.
>
> Try "DESTINATION ." instead. The DESTINATION is automatically under
> CMAKE_INSTALL_PREFIX when expressed as a relative path. When you
> express it as a full abs
It's because you're using (in essence):
DESTINATION ${CMAKE_INSTALL_PREFIX}
for your install rules.
Try "DESTINATION ." instead. The DESTINATION is automatically under
CMAKE_INSTALL_PREFIX when expressed as a relative path. When you
express it as a full absolute path, the install rule puts it
Hello,
I try to use CPack to create a Windows package using NSIS, it fails with:
[100%] Built target sd-tris
Run CPack packaging tool...
CPack: Create package using NSIS
CPack: Install projects
CPack: - Run preinstall target for: sd-tris
CPack: - Install project: sd-tris
CPack: Create package
CPa