NMake: CMAKE_INSTALL_PREFIX defaults to "C:\Program Files (x86)" even if target is x64.
I use cmd under windows to compile. Environment is initiated via msvc batch file:
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
nmake file created in build directory via:
cmake -G "NMake Makefiles" ..
if(CMAKE_SIZEOF_VOID_P MATCHES "8") also returns true inside the cmake script.
But it only installs into the "C:\Program Files (x86)" directory.
Edited by Brad King