-
- Downloads
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>
Please register or sign in to comment