mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-20 18:56:04 +00:00
unittests: Use the correct defines and global variables when building on CMake.
llvm-svn: 116834
This commit is contained in:
parent
da05a8149b
commit
fcc19613cd
@ -13,6 +13,8 @@ function(add_llvm_unittest test_name)
|
||||
endfunction()
|
||||
|
||||
include_directories(${LLVM_MAIN_SRC_DIR}/utils/unittest/googletest/include)
|
||||
set(LLVM_REQUIRES_RTTI 1)
|
||||
add_definitions(-DGTEST_HAS_RTTI=0)
|
||||
|
||||
set(LLVM_LINK_COMPONENTS
|
||||
jit
|
||||
|
Loading…
x
Reference in New Issue
Block a user