summaryrefslogtreecommitdiff
path: root/tools/cmake
diff options
context:
space:
mode:
authorAlex Kutsan <akutsan@luxoft.com>2017-03-03 12:49:31 +0200
committerJacob Keeler <jacob.keeler@livioradio.com>2017-05-16 10:08:07 -0400
commitd00b9592032b695d841ba5ceebd49976d2be48a2 (patch)
treec80d3cb4b82381c64b65d5fe76508dc167227b69 /tools/cmake
parentdf3e4ee295b981100ff033655607679508404fcc (diff)
downloadsdl_core-d00b9592032b695d841ba5ceebd49976d2be48a2.tar.gz
Set ARCH to x64 against x86_64
Diffstat (limited to 'tools/cmake')
-rw-r--r--tools/cmake/helpers/platform.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/cmake/helpers/platform.cmake b/tools/cmake/helpers/platform.cmake
index 023cd7e879..14a29a67a8 100644
--- a/tools/cmake/helpers/platform.cmake
+++ b/tools/cmake/helpers/platform.cmake
@@ -76,7 +76,7 @@ endfunction()
function(get_arch ARCH)
if( CMAKE_SIZEOF_VOID_P MATCHES 8 )
# void ptr = 8 byte --> x86_64
- set(${ARCH} "x86_64" PARENT_SCOPE)
+ set(${ARCH} "x86" PARENT_SCOPE)
elseif( CMAKE_SIZEOF_VOID_P MATCHES 4 )
# void ptr = 4 byte --> x86
set(${ARCH} "x86" PARENT_SCOPE)