diff --git a/CMakeLists.txt b/CMakeLists.txt index df97554d3e..a6c84974b8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()