CMake: Set EMU_ARCH_BITS in CMakeLists.txt
This commit is contained in:
parent
935bcdbd20
commit
8d1cab4892
4 changed files with 2 additions and 36 deletions
|
@ -165,6 +165,8 @@ add_definitions(-DSINGLETHREADED)
|
|||
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
|
||||
# ======================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue