projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01734b1
)
unittests: Use the correct defines and global variables when building on CMake.
author
Michael J. Spencer
<bigcheesegs@gmail.com>
Tue, 19 Oct 2010 18:04:19 +0000
(18:04 +0000)
committer
Michael J. Spencer
<bigcheesegs@gmail.com>
Tue, 19 Oct 2010 18:04:19 +0000
(18:04 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116834
91177308
-0d34-0410-b5e6-
96231b3b80d8
unittests/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/unittests/CMakeLists.txt
b/unittests/CMakeLists.txt
index 8a5a367794bd9977eafd253685987b617d2d36cb..d37b8906b483a924043ef1858b8651152fa90471 100644
(file)
--- a/
unittests/CMakeLists.txt
+++ b/
unittests/CMakeLists.txt
@@
-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