[CMake] CPack doesn't recognize custom templates

Eric Noulard eric.noulard at gmail.com
Tue May 8 03:36:02 EDT 2012


2012/5/8  <norulez at me.com>:
> Hello,
>
> I had a custom NSIS template under ${CMAKE_SOURCE_DIR}/cmake
>
> Then I added those path to CMAKE_MODULE_PATH. But my custom template gets never called.
> If I run cpack --verbose I can see that cpack uses the template from the CMake installation.

Which version of CMake/CPack are you using,
on each concerned platform?

> The strange thing is, that it would work on Windows 7 but not on Windows XP without admin rights.

That is if you build+package the same project on WinXP being admin you
get what you want?

Could you retry on WinXP using and out-of-source build and a pristine
source dir?

Do you set policy CMP0017 to NEW? if yes could you try to set it to OLD.


-- 
Erk
Le gouvernement représentatif n'est pas la démocratie --
http://www.le-message.org


More information about the CMake mailing list