summaryrefslogtreecommitdiff
path: root/unittests/CodeGen/GlobalISel/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/CodeGen/GlobalISel/CMakeLists.txt')
-rw-r--r--unittests/CodeGen/GlobalISel/CMakeLists.txt8
1 files changed, 3 insertions, 5 deletions
diff --git a/unittests/CodeGen/GlobalISel/CMakeLists.txt b/unittests/CodeGen/GlobalISel/CMakeLists.txt
index 94e31159c6bb..075bb44bc330 100644
--- a/unittests/CodeGen/GlobalISel/CMakeLists.txt
+++ b/unittests/CodeGen/GlobalISel/CMakeLists.txt
@@ -3,8 +3,6 @@ set(LLVM_LINK_COMPONENTS
CodeGen
)
-if(LLVM_BUILD_GLOBAL_ISEL)
- add_llvm_unittest(GlobalISelTests
- LegalizerInfoTest.cpp
- )
-endif()
+add_llvm_unittest(GlobalISelTests
+ LegalizerInfoTest.cpp
+ )