Fix the *unchecked* commit.

llvm-svn: 249100
GitOrigin-RevId: 0ed0740c7e09fc4784739de1e353564ac6689e59
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6aa3060..ea1f8f8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,7 +12,7 @@
 
 # Add the common testsuite after all the tools.
 # TODO: Support tests with more granularity when features are off?
-if(CLANG_ENABLE_STATIC_ANALYZER AND CLANG_ENABLE_TESTS)
+if(CLANG_ENABLE_STATIC_ANALYZER AND CLANG_INCLUDE_TESTS)
 add_subdirectory(test)
 add_subdirectory(unittests)
 endif()