SDL: cmake: really fix detection of pthread_setname_np() on Apple platforms. (63470)

From 634705851dbe35204ac9171ccbc491886fa37b66 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Mon, 13 Feb 2023 11:56:10 +0300
Subject: [PATCH] cmake: really fix detection of pthread_setname_np() on Apple
 platforms.

---
 cmake/sdlchecks.cmake | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/cmake/sdlchecks.cmake b/cmake/sdlchecks.cmake
index 830fefcb15f4..c4aec174e35e 100644
--- a/cmake/sdlchecks.cmake
+++ b/cmake/sdlchecks.cmake
@@ -1020,9 +1020,9 @@ macro(CheckPTHREAD)
             #include <pthread.h>
             int main(int argc, char **argv) {
               #ifdef __APPLE__
-              pthread_setname_np(pthread_self());
+              pthread_setname_np(\"\");
               #else
-              pthread_setname_np(pthread_self(), \"\");
+              pthread_setname_np(pthread_self(),\"\");
               #endif
               return 0;
             }" HAVE_PTHREAD_SETNAME_NP)