From 79801c717de5de6b86b45eadf61b352c9951f61e Mon Sep 17 00:00:00 2001
From: Oz Linden <oz@lindenlab.com>
Date: Wed, 25 Sep 2019 12:57:51 -0400
Subject: [PATCH] fix warning about mismatched condition

---
 indra/newview/CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt
index 40ff1263f2e..ab6b8c9c6ee 100644
--- a/indra/newview/CMakeLists.txt
+++ b/indra/newview/CMakeLists.txt
@@ -2173,7 +2173,7 @@ if (DARWIN)
 
   if (NOT USE_BUGSPLAT)
       add_dependencies(${VIEWER_BINARY_NAME} mac-crash-logger)
-  endif (USE_BUGSPLAT)
+  endif (NOT USE_BUGSPLAT)
 
   if (ENABLE_SIGNING)
       set(SIGNING_SETTING "--signature=${SIGNING_IDENTITY}")
-- 
GitLab