aboutsummaryrefslogtreecommitdiff
path: root/cmake/scripts/windows/ArchSetup.cmake
diff options
context:
space:
mode:
authorRechi <Rechi@users.noreply.github.com>2017-03-13 14:27:31 +0100
committerRechi <Rechi@users.noreply.github.com>2017-03-13 14:27:31 +0100
commite323132a9eb281103ba3ba836bc3bf1a4851d32e (patch)
treefa3f6e1f34d57440315a703a6b43c33ae4009a9c /cmake/scripts/windows/ArchSetup.cmake
parentce8274d4e29ebf7058ae51ca535aa5eec9902c7a (diff)
[win] use 64-bit toolset if available
Diffstat (limited to 'cmake/scripts/windows/ArchSetup.cmake')
-rw-r--r--cmake/scripts/windows/ArchSetup.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/scripts/windows/ArchSetup.cmake b/cmake/scripts/windows/ArchSetup.cmake
index 7792f58633..f3856617e1 100644
--- a/cmake/scripts/windows/ArchSetup.cmake
+++ b/cmake/scripts/windows/ArchSetup.cmake
@@ -102,5 +102,6 @@ if(CMAKE_GENERATOR MATCHES "Visual Studio")
"@echo off\n"
"set KODI_HOME=%~dp0\n"
"set PATH=%~dp0\\system\n"
+ "set PreferredToolArchitecture=x64\n"
"start %~dp0\\${PROJECT_NAME}.sln")
endif()