diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt
index b44f1a5c6c938a9f7955d4f50559fe2646cf4764..958b9521faa45beaf5ff7b6cd7b4b6a31dfc8fc3 100644
--- a/indra/newview/CMakeLists.txt
+++ b/indra/newview/CMakeLists.txt
@@ -1761,7 +1761,6 @@ if (INSTALL)
 endif (INSTALL)
 
 if (LL_TESTS)
-else (LL_TESTS)
   # To add a viewer unit test, just add the test .cpp file below
   # This creates a separate test project per file listed.
   include(LLAddBuildTest)