summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Kutsan <akutsan@luxoft.com>2017-03-03 12:49:31 +0200
committerAlex Kutsan <akutsan@luxoft.com>2017-03-03 12:49:31 +0200
commitdfb6417649146f59b441ab8b227cff65a97d7bda (patch)
treef51c5b5bf7ad41b31a3d8024517b8125cc3a66a0
parentb9fc23ff3aabbbef229d0b9ff003d6459123ba7e (diff)
downloadsdl_core-dfb6417649146f59b441ab8b227cff65a97d7bda.tar.gz
Set ARCH to x64 against x86_64
-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)