From dcfbad212937f8f6ffc824bc24538df32f16a13b Mon Sep 17 00:00:00 2001 From: bunnei Date: Thu, 4 Jan 2018 17:01:02 -0500 Subject: [PATCH] cmake: Don't compile Dynarmic as it's unused. --- externals/CMakeLists.txt | 9 +-------- src/core/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index 8f42f4fdc..aa01acda8 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt @@ -10,13 +10,6 @@ target_include_directories(catch-single-include INTERFACE catch/single_include) # Crypto++ 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 add_subdirectory(fmt) @@ -56,7 +49,7 @@ target_include_directories(unicorn-headers INTERFACE ./unicorn/include) # Xbyak if (ARCHITECTURE_x86_64) # Defined before "dynarmic" above - # add_library(xbyak INTERFACE) + add_library(xbyak INTERFACE) target_include_directories(xbyak INTERFACE ./xbyak/xbyak) target_compile_definitions(xbyak INTERFACE XBYAK_NO_OP_NAMES) endif() diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index f3ed33cfb..d35f974ca 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -158,7 +158,7 @@ set(HEADERS create_directory_groups(${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 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) target_link_libraries(core PUBLIC json-headers web_service) endif()