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

From 9b061c04e71be9e6729c06c3e64be95cf09244a2 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 55224f2aa7fb..316ef4a002cb 100644
--- a/cmake/sdlchecks.cmake
+++ b/cmake/sdlchecks.cmake
@@ -992,9 +992,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)