mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-05 14:34:55 +00:00
unittests: Use the correct defines and global variables when building on CMake.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116834 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
01734b1e1b
commit
8a806aed4b
@ -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