[cmake] dynarmic: use platform shorthands for openbsd
All checks were successful
eden-license / license-header (pull_request) Successful in 31s
All checks were successful
eden-license / license-header (pull_request) Successful in 31s
Signed-off-by: crueter <crueter@eden-emu.dev>
This commit is contained in:
parent
11a2674d52
commit
3794ca55fc
2 changed files with 6 additions and 9 deletions
|
@ -14,20 +14,24 @@ endif()
|
||||||
|
|
||||||
# Dynarmic project options
|
# Dynarmic project options
|
||||||
option(DYNARMIC_ENABLE_CPU_FEATURE_DETECTION "Turning this off causes dynarmic to assume the host CPU doesn't support anything later than SSE3" ON)
|
option(DYNARMIC_ENABLE_CPU_FEATURE_DETECTION "Turning this off causes dynarmic to assume the host CPU doesn't support anything later than SSE3" ON)
|
||||||
if (CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
|
|
||||||
|
if (PLATFORM_OPENBSD)
|
||||||
option(DYNARMIC_ENABLE_NO_EXECUTE_SUPPORT "Enables support for systems that require W^X" ON)
|
option(DYNARMIC_ENABLE_NO_EXECUTE_SUPPORT "Enables support for systems that require W^X" ON)
|
||||||
else()
|
else()
|
||||||
option(DYNARMIC_ENABLE_NO_EXECUTE_SUPPORT "Enables support for systems that require W^X" OFF)
|
option(DYNARMIC_ENABLE_NO_EXECUTE_SUPPORT "Enables support for systems that require W^X" OFF)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
option(DYNARMIC_FATAL_ERRORS "Errors are fatal" OFF)
|
option(DYNARMIC_FATAL_ERRORS "Errors are fatal" OFF)
|
||||||
option(DYNARMIC_IGNORE_ASSERTS "Ignore asserts" OFF)
|
option(DYNARMIC_IGNORE_ASSERTS "Ignore asserts" OFF)
|
||||||
option(DYNARMIC_TESTS_USE_UNICORN "Enable fuzzing tests against unicorn" OFF)
|
option(DYNARMIC_TESTS_USE_UNICORN "Enable fuzzing tests against unicorn" OFF)
|
||||||
option(DYNARMIC_USE_LLVM "Support disassembly of jitted x86_64 code using LLVM" OFF)
|
option(DYNARMIC_USE_LLVM "Support disassembly of jitted x86_64 code using LLVM" OFF)
|
||||||
if (CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
|
|
||||||
|
if (PLATFORM_OPENBSD)
|
||||||
option(DYNARMIC_USE_PRECOMPILED_HEADERS "Use precompiled headers" OFF)
|
option(DYNARMIC_USE_PRECOMPILED_HEADERS "Use precompiled headers" OFF)
|
||||||
else()
|
else()
|
||||||
option(DYNARMIC_USE_PRECOMPILED_HEADERS "Use precompiled headers" ON)
|
option(DYNARMIC_USE_PRECOMPILED_HEADERS "Use precompiled headers" ON)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
option(DYNARMIC_INSTALL "Install dynarmic headers and CMake files" OFF)
|
option(DYNARMIC_INSTALL "Install dynarmic headers and CMake files" OFF)
|
||||||
option(DYNARMIC_USE_BUNDLED_EXTERNALS "Use all bundled externals (useful when e.g. cross-compiling)" OFF)
|
option(DYNARMIC_USE_BUNDLED_EXTERNALS "Use all bundled externals (useful when e.g. cross-compiling)" OFF)
|
||||||
option(DYNARMIC_WARNINGS_AS_ERRORS "Warnings as errors" ${MASTER_PROJECT})
|
option(DYNARMIC_WARNINGS_AS_ERRORS "Warnings as errors" ${MASTER_PROJECT})
|
||||||
|
|
7
src/dynarmic/externals/CMakeLists.txt
vendored
7
src/dynarmic/externals/CMakeLists.txt
vendored
|
@ -60,13 +60,6 @@ AddJsonPackage(
|
||||||
# endif()
|
# endif()
|
||||||
# endif()
|
# endif()
|
||||||
|
|
||||||
# unordered_dense
|
|
||||||
|
|
||||||
AddJsonPackage(
|
|
||||||
NAME unordered-dense
|
|
||||||
BUNDLED_PACKAGE ${DYNARMIC_USE_BUNDLED_EXTERNALS}
|
|
||||||
)
|
|
||||||
|
|
||||||
# xbyak
|
# xbyak
|
||||||
# uncomment if in an independent repo
|
# uncomment if in an independent repo
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue