mirror of https://github.com/libAthena/athena.git
Check CMAKE_SYSTEM_PROCESSOR when setting -maes
This commit is contained in:
parent
d523fad83f
commit
271c275fcf
|
@ -154,7 +154,7 @@ add_library(athena-wiisave EXCLUDE_FROM_ALL
|
|||
include/md5.h
|
||||
include/sha1.h
|
||||
)
|
||||
if(NOT MSVC AND NOT GEKKO AND NOT NX)
|
||||
if(NOT MSVC AND ${CMAKE_SYSTEM_PROCESSOR} STREQUAL x86_64)
|
||||
set_source_files_properties(src/aes.cpp PROPERTIES COMPILE_FLAGS -maes)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue