Build: Fix CMake build
This commit is contained in:
parent
cb407263ea
commit
131dc923ed
|
@ -120,7 +120,7 @@ endif()
|
||||||
|
|
||||||
if(${CPU_ARCH} STREQUAL "x64")
|
if(${CPU_ARCH} STREQUAL "x64")
|
||||||
target_include_directories(core PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/../../dep/xbyak/xbyak")
|
target_include_directories(core PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/../../dep/xbyak/xbyak")
|
||||||
target_compile_definitions(core PRIVATE "WITH_RECOMPILER=1 WITH_FASTMEM=1")
|
target_compile_definitions(core PRIVATE "WITH_RECOMPILER=1" "WITH_FASTMEM=1")
|
||||||
target_sources(core PRIVATE ${RECOMPILER_SRCS}
|
target_sources(core PRIVATE ${RECOMPILER_SRCS}
|
||||||
cpu_recompiler_code_generator_x64.cpp
|
cpu_recompiler_code_generator_x64.cpp
|
||||||
)
|
)
|
||||||
|
@ -133,7 +133,7 @@ elseif(${CPU_ARCH} STREQUAL "aarch32")
|
||||||
target_link_libraries(core PRIVATE vixl)
|
target_link_libraries(core PRIVATE vixl)
|
||||||
message("Building AArch32 recompiler")
|
message("Building AArch32 recompiler")
|
||||||
elseif(${CPU_ARCH} STREQUAL "aarch64")
|
elseif(${CPU_ARCH} STREQUAL "aarch64")
|
||||||
target_compile_definitions(core PRIVATE "WITH_RECOMPILER=1 WITH_FASTMEM=1")
|
target_compile_definitions(core PRIVATE "WITH_RECOMPILER=1" "WITH_FASTMEM=1")
|
||||||
target_sources(core PRIVATE ${RECOMPILER_SRCS}
|
target_sources(core PRIVATE ${RECOMPILER_SRCS}
|
||||||
cpu_recompiler_code_generator_aarch64.cpp
|
cpu_recompiler_code_generator_aarch64.cpp
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue