diff options
author | Brad King <brad.king@kitware.com> | 2015-02-04 20:09:18 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-02-04 20:11:10 (GMT) |
commit | ecaee7caca4e3d4528e643736c0620e785e84153 (patch) | |
tree | 28965cd478baa0ca7afd8cbe585cf0ed314c5fc2 /Help | |
parent | eef9a476179dd91c69d30f937e742ea484436fc6 (diff) | |
download | CMake-ecaee7caca4e3d4528e643736c0620e785e84153.zip CMake-ecaee7caca4e3d4528e643736c0620e785e84153.tar.gz CMake-ecaee7caca4e3d4528e643736c0620e785e84153.tar.bz2 |
CPack: Fix NSIS default 64-bit Windows install directory (#14211)
When targeting Windows with a 64-bit architecture, use "$PROGRAMFILES64"
to get the Program Files folder. Use CMAKE_SIZEOF_VOID_P to check for
the architecture size instead of CMAKE_CL_64 because the latter is not
defined for all compilers.
Inspired-by: Hugh Sorby <h.sorby@auckland.ac.nz>
Inspired-by: İsmail Dönmez <ismail@donmez.ws>
Diffstat (limited to 'Help')
0 files changed, 0 insertions, 0 deletions