mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
Fixes build in Debug mode on linux
The changes introduced in commit 80294e1
makes the mcdisassembler
component of LLVM necessary in debug mode to successfully link rpcs3.
This commit is contained in:
parent
4fe4e589fb
commit
f507724b5c
1 changed files with 5 additions and 1 deletions
|
@ -81,7 +81,11 @@ ${LLVM_INCLUDE_DIRS}
|
|||
|
||||
add_definitions(${LLVM_DEFINITIONS})
|
||||
add_definitions(-DLLVM_AVAILABLE)
|
||||
llvm_map_components_to_libnames(LLVM_LIBS jit vectorize x86codegen x86disassembler)
|
||||
if (CMAKE_BUILD_TYPE STREQUAL "Release")
|
||||
llvm_map_components_to_libnames(LLVM_LIBS jit vectorize x86codegen x86disassembler)
|
||||
else()
|
||||
llvm_map_components_to_libnames(LLVM_LIBS jit vectorize x86codegen x86disassembler mcdisassembler)
|
||||
endif()
|
||||
|
||||
link_directories("${RPCS3_SRC_DIR}/../ffmpeg/${PLATFORM_ARCH}/lib")
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue