externals\CMakeLists.txt: dynarmic, fmt, xbyak: add EXCLUDE_FROM_ALL property (#6398)

This commit is contained in:
SachinVin 2023-04-06 18:01:28 +05:30 committed by GitHub
parent 287ce1e56f
commit 9c81dc0dd8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,18 +67,18 @@ endif()
# fmt and Xbyak need to be added before dynarmic # fmt and Xbyak need to be added before dynarmic
# libfmt # libfmt
option(FMT_INSTALL "" ON) option(FMT_INSTALL "" ON)
add_subdirectory(fmt) add_subdirectory(fmt EXCLUDE_FROM_ALL)
# Xbyak # Xbyak
if ("x86_64" IN_LIST ARCHITECTURE) if ("x86_64" IN_LIST ARCHITECTURE)
add_subdirectory(xbyak) add_subdirectory(xbyak EXCLUDE_FROM_ALL)
endif() endif()
# Dynarmic # Dynarmic
if ("x86_64" IN_LIST ARCHITECTURE OR "arm64" IN_LIST ARCHITECTURE) if ("x86_64" IN_LIST ARCHITECTURE OR "arm64" IN_LIST ARCHITECTURE)
set(DYNARMIC_TESTS OFF) set(DYNARMIC_TESTS OFF)
set(DYNARMIC_FRONTENDS "A32") set(DYNARMIC_FRONTENDS "A32")
add_subdirectory(dynarmic) add_subdirectory(dynarmic EXCLUDE_FROM_ALL)
endif() endif()
# getopt # getopt