about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorDan Liew <daniel.liew@imperial.ac.uk>2016-11-19 11:19:01 +0000
committerDan Liew <delcypher@gmail.com>2016-11-19 22:41:34 +0000
commite4d028c8c11a308e1bd3938db1bb88a91d826c19 (patch)
tree763323062ad9b3bbd9f7f7f2ca379b11cbd8dd07
parent5133b98f1d989af94902366c6d02eb6447458aa1 (diff)
downloadklee-e4d028c8c11a308e1bd3938db1bb88a91d826c19.tar.gz
[CMake] Remove unneeded dependency declarations for the unit tests.
These were changes that I forgot to make in
dda296e09ee53ed85ccf1c3f08e7e809adce612e .
-rw-r--r--unittests/Assignment/CMakeLists.txt3
-rw-r--r--unittests/Expr/CMakeLists.txt5
-rw-r--r--unittests/Ref/CMakeLists.txt5
-rw-r--r--unittests/Solver/CMakeLists.txt11
4 files changed, 4 insertions, 20 deletions
diff --git a/unittests/Assignment/CMakeLists.txt b/unittests/Assignment/CMakeLists.txt
index e231ee39..8ca55b94 100644
--- a/unittests/Assignment/CMakeLists.txt
+++ b/unittests/Assignment/CMakeLists.txt
@@ -1,4 +1,3 @@
 add_klee_unit_test(AssignmentTest
   AssignmentTest.cpp)
-klee_get_llvm_libs(LLVM_LIBS Support)
-target_link_libraries(AssignmentTest PRIVATE kleaverExpr ${LLVM_LIBS})
+target_link_libraries(AssignmentTest PRIVATE kleaverExpr)
diff --git a/unittests/Expr/CMakeLists.txt b/unittests/Expr/CMakeLists.txt
index 4e7bc997..84dce619 100644
--- a/unittests/Expr/CMakeLists.txt
+++ b/unittests/Expr/CMakeLists.txt
@@ -1,6 +1,3 @@
 add_klee_unit_test(ExprTest
   ExprTest.cpp)
-# FIXME: KLEE's libraries should just declare what libraries
-# they depend on so we don't need to manually link.
-klee_get_llvm_libs(LLVM_LIBS Support)
-target_link_libraries(ExprTest PRIVATE kleaverExpr ${LLVM_LIBS})
+target_link_libraries(ExprTest PRIVATE kleaverExpr)
diff --git a/unittests/Ref/CMakeLists.txt b/unittests/Ref/CMakeLists.txt
index d678930c..facd26a3 100644
--- a/unittests/Ref/CMakeLists.txt
+++ b/unittests/Ref/CMakeLists.txt
@@ -1,6 +1,3 @@
 add_klee_unit_test(RefTest
   RefTest.cpp)
-# FIXME: KLEE's libraries should just declare what libraries
-# they depend on so we don't need to manually link.
-klee_get_llvm_libs(LLVM_LIBS Support)
-target_link_libraries(RefTest PRIVATE kleaverExpr ${LLVM_LIBS})
+target_link_libraries(RefTest PRIVATE kleaverExpr)
diff --git a/unittests/Solver/CMakeLists.txt b/unittests/Solver/CMakeLists.txt
index 602a1196..c82e51b5 100644
--- a/unittests/Solver/CMakeLists.txt
+++ b/unittests/Solver/CMakeLists.txt
@@ -1,12 +1,3 @@
 add_klee_unit_test(SolverTest
   SolverTest.cpp)
-# FIXME: KLEE's libraries should just declare what libraries
-# they depend on so we don't need to manually link.
-klee_get_llvm_libs(LLVM_LIBS Support)
-target_link_libraries(SolverTest
-  PRIVATE
-  kleaverSolver
-  kleaverExpr
-  kleeSupport
-  kleeBasic
-  ${LLVM_LIBS})
+target_link_libraries(SolverTest PRIVATE kleaverSolver)