about summary refs log tree commit diff homepage
path: root/unittests
diff options
context:
space:
mode:
Diffstat (limited to 'unittests')
-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)