[CMake] CPack doesn't recognize custom templates

norulez at me.com norulez at me.com
Tue May 8 06:41:30 EDT 2012


There is no difference with your command. It still uses the NSIS.template.in file from the CMake installation.

Yes I tried the configurations in new build directories such as build1 ... buildn.


Am 08.05.2012 um 11:52 schrieb Eric Noulard <eric.noulard at gmail.com>:

> 2012/5/8  <norulez at me.com>:
>> I use CMake 2.8.7 from the zip archive.
>> Out of source builds are the defaults, so yes I use out of source builds.
> 
> Good.
> But did you try with fresh new (empty) build tree AND fresh new
> checked-out source tree?
> 
>> I tried  CMP0017 with NEW and with OLD, but there is no difference, normally I don't specify this policy manually.
> 
> OK.
> 
> Could you send us the CPackConfig.cmake files used in the faulty case
> (WinXP) and working case (Win7)?
> 
> Could you also try:
> 
> cpack -D CPACK_MODULE_PATH=/path/to/source/cmake -G NSIS
> 
> 
> -- 
> Erk
> Le gouvernement représentatif n'est pas la démocratie --
> http://www.le-message.org


More information about the CMake mailing list