Change jit to mcjit in CMakeLists

This fixes compiling on linux
This commit is contained in:
Danila Malyutin 2015-07-21 22:47:35 +03:00 committed by Nekotekina
parent af90f03323
commit 831858ce7e
1 changed files with 2 additions and 2 deletions

View File

@ -100,9 +100,9 @@ ${LLVM_INCLUDE_DIRS}
add_definitions(${LLVM_DEFINITIONS})
add_definitions(-DLLVM_AVAILABLE)
if (CMAKE_BUILD_TYPE STREQUAL "Release")
llvm_map_components_to_libnames(LLVM_LIBS jit vectorize x86codegen x86disassembler)
llvm_map_components_to_libnames(LLVM_LIBS mcjit vectorize x86codegen x86disassembler)
else()
llvm_map_components_to_libnames(LLVM_LIBS jit vectorize x86codegen x86disassembler mcdisassembler)
llvm_map_components_to_libnames(LLVM_LIBS mcjit vectorize x86codegen x86disassembler mcdisassembler)
endif()
link_directories("${RPCS3_SRC_DIR}/../ffmpeg/${PLATFORM_ARCH}/lib")