mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-12-23 18:45:34 +00:00
cmake: Don't compile Dynarmic as it's unused.
This commit is contained in:
parent
24f10a20e7
commit
dcfbad2129
9
externals/CMakeLists.txt
vendored
9
externals/CMakeLists.txt
vendored
|
@ -10,13 +10,6 @@ target_include_directories(catch-single-include INTERFACE catch/single_include)
|
||||||
# Crypto++
|
# Crypto++
|
||||||
add_subdirectory(cryptopp)
|
add_subdirectory(cryptopp)
|
||||||
|
|
||||||
# Dynarmic
|
|
||||||
# Dynarmic will skip defining xbyak if it's already defined, we then define it below
|
|
||||||
add_library(xbyak INTERFACE)
|
|
||||||
option(DYNARMIC_TESTS OFF)
|
|
||||||
set(DYNARMIC_NO_BUNDLED_FMT ON)
|
|
||||||
add_subdirectory(dynarmic)
|
|
||||||
|
|
||||||
# libfmt
|
# libfmt
|
||||||
add_subdirectory(fmt)
|
add_subdirectory(fmt)
|
||||||
|
|
||||||
|
@ -56,7 +49,7 @@ target_include_directories(unicorn-headers INTERFACE ./unicorn/include)
|
||||||
# Xbyak
|
# Xbyak
|
||||||
if (ARCHITECTURE_x86_64)
|
if (ARCHITECTURE_x86_64)
|
||||||
# Defined before "dynarmic" above
|
# Defined before "dynarmic" above
|
||||||
# add_library(xbyak INTERFACE)
|
add_library(xbyak INTERFACE)
|
||||||
target_include_directories(xbyak INTERFACE ./xbyak/xbyak)
|
target_include_directories(xbyak INTERFACE ./xbyak/xbyak)
|
||||||
target_compile_definitions(xbyak INTERFACE XBYAK_NO_OP_NAMES)
|
target_compile_definitions(xbyak INTERFACE XBYAK_NO_OP_NAMES)
|
||||||
endif()
|
endif()
|
||||||
|
|
|
@ -158,7 +158,7 @@ set(HEADERS
|
||||||
create_directory_groups(${SRCS} ${HEADERS})
|
create_directory_groups(${SRCS} ${HEADERS})
|
||||||
add_library(core STATIC ${SRCS} ${HEADERS})
|
add_library(core STATIC ${SRCS} ${HEADERS})
|
||||||
target_link_libraries(core PUBLIC common PRIVATE audio_core network video_core)
|
target_link_libraries(core PUBLIC common PRIVATE audio_core network video_core)
|
||||||
target_link_libraries(core PUBLIC Boost::boost PRIVATE cryptopp dynarmic fmt lz4_static unicorn)
|
target_link_libraries(core PUBLIC Boost::boost PRIVATE cryptopp fmt lz4_static unicorn)
|
||||||
if (ENABLE_WEB_SERVICE)
|
if (ENABLE_WEB_SERVICE)
|
||||||
target_link_libraries(core PUBLIC json-headers web_service)
|
target_link_libraries(core PUBLIC json-headers web_service)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue