CMake: Set EMU_ARCH_BITS in CMakeLists.txt
This commit is contained in:
parent
4721ea4523
commit
34b733e70e
4 changed files with 3 additions and 36 deletions
|
@ -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
|
||||
# ======================
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue