Put x86_64 Windows binaries in Binary/x64 for consistency with ARM64

...and with our existing Visual Studio project files and
buildbot config.
This commit is contained in:
Léo Lam 2021-04-17 21:33:07 +02:00
parent 14959a1087
commit a7a69ecd2e
No known key found for this signature in database
GPG Key ID: 0DF30F9081000741
1 changed files with 3 additions and 1 deletions

View File

@ -115,7 +115,9 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/Binaries)
if (WIN32)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/Binary)
if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
if (CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64|amd64|AMD64")
string(APPEND CMAKE_RUNTIME_OUTPUT_DIRECTORY /x64)
elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64")
string(APPEND CMAKE_RUNTIME_OUTPUT_DIRECTORY /ARM64)
endif()