[debugserver] Fix inverted if block that resulted in us using the private entitlements
authorJonas Devlieghere <jonas@devlieghere.com>
Sat, 16 Jan 2021 01:40:41 +0000 (17:40 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Sat, 16 Jan 2021 01:41:07 +0000 (17:41 -0800)
lldb/tools/debugserver/source/CMakeLists.txt

index 0318d50..710e11f 100644 (file)
@@ -132,9 +132,9 @@ if(LLDB_USE_ENTITLEMENTS)
     set(entitlements ${CMAKE_CURRENT_SOURCE_DIR}/debugserver-entitlements.plist)
   else()
     if (LLDB_USE_PRIVATE_ENTITLEMENTS)
-      set(entitlements ${DEBUGSERVER_RESOURCE_DIR}/debugserver-macosx-entitlements.plist)
-    else()
       set(entitlements ${DEBUGSERVER_RESOURCE_DIR}/debugserver-macosx-private-entitlements.plist)
+    else()
+      set(entitlements ${DEBUGSERVER_RESOURCE_DIR}/debugserver-macosx-entitlements.plist)
     endif()
   endif()
 endif()