[CMake] CPack and NSIS failure

Eric Noulard eric.noulard at gmail.com
Wed Jun 27 14:58:37 EDT 2012


2012/6/27 David Cole <david.cole at kitware.com>:
>> 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 addition,
and if you wonder about a variable usage you can do (since cpack 2.8.8):

cpack --help-variable CPACK_NSIS_EXECUTABLES_DIRECTORY

you can get the full list of documented CPack variable using:

cpack --help-variables

or dump it in html file:

cpack --help-variables cpackvar.html

then look for CPACK_NSIS_xxxx in this and you'll get all CPack NSIS
specific control vars.
-- 
Erk
Le gouvernement représentatif n'est pas la démocratie --
http://www.le-message.org


More information about the CMake mailing list