summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorN00byKing <N00byKing@hotmail.de>2018-03-21 18:27:07 +0100
committerN00byKing <N00byKing@hotmail.de>2018-03-21 19:03:20 +0100
commit34b733e70edc0a874892a8207c0592e538cfecc5 (patch)
tree44bf4c1c124e21f577e1b72ddf7276743b9590ba /CMakeLists.txt
parentMerge pull request #257 from mailwl/vi-module (diff)
downloadyuzu-34b733e70edc0a874892a8207c0592e538cfecc5.tar
yuzu-34b733e70edc0a874892a8207c0592e538cfecc5.tar.gz
yuzu-34b733e70edc0a874892a8207c0592e538cfecc5.tar.bz2
yuzu-34b733e70edc0a874892a8207c0592e538cfecc5.tar.lz
yuzu-34b733e70edc0a874892a8207c0592e538cfecc5.tar.xz
yuzu-34b733e70edc0a874892a8207c0592e538cfecc5.tar.zst
yuzu-34b733e70edc0a874892a8207c0592e538cfecc5.zip
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1fcf0874f..bcd169643 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -160,6 +160,9 @@ set_property(DIRECTORY APPEND PROPERTY
COMPILE_DEFINITIONS $<$<CONFIG:Debug>:_DEBUG> $<$<NOT:$<CONFIG:Debug>>:NDEBUG>)
+math(EXPR EMU_ARCH_BITS ${CMAKE_SIZEOF_VOID_P}*8)
+add_definitions(-DEMU_ARCH_BITS=${EMU_ARCH_BITS})
+
# System imported libraries
# ======================