[CMake] How to force use of Windows 64bit link.exe?
Jano Svitok
jan.svitok at gmail.com
Thu Nov 9 04:40:14 EST 2017
-T host=x64 is your answer
(-G chooses platform/generated code; -T host= chooses platform of the
toolset itself).
Alternatively to -T you can set ENV variable PreferredToolArchitecture=x64
See:
https://stackoverflow.com/questions/19820718/how-to-make-visual-studio-use-the-native-amd64-toolchain
Jano
PS: I do not reply to the original message since I've just subscribed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20171109/a797dc7b/attachment.html>
More information about the CMake
mailing list