forked from ShuriZma/suyu
1
0
Fork 0

CMakeLists: Fix unicorn build for macOS developers with x86_64-only systems

Some of us do not have any i386 libraries required to build x86-32 universal libraries.
This commit is contained in:
MerryMage 2018-01-21 13:57:14 +00:00
parent bba785d643
commit add8d40f3f
1 changed files with 1 additions and 1 deletions

View File

@ -250,7 +250,7 @@ if (YUZU_USE_BUNDLED_UNICORN)
find_package(PythonInterp 2.7 REQUIRED)
add_custom_command(OUTPUT ${LIBUNICORN_LIBRARY}
COMMAND ${CMAKE_COMMAND} -E env UNICORN_ARCHS="aarch64" PYTHON="${PYTHON_EXECUTABLE}" /bin/sh make.sh
COMMAND ${CMAKE_COMMAND} -E env UNICORN_ARCHS="aarch64" PYTHON="${PYTHON_EXECUTABLE}" /bin/sh make.sh macos-universal-no
WORKING_DIRECTORY ${UNICORN_PREFIX}
)
# ALL makes this custom target build every time