sdl12-compat: cmake: attempt to quell CMP0068 warnings.

From 87433054970f14660d8713e1352b448817905391 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Thu, 9 Dec 2021 09:28:14 -0500
Subject: [PATCH] cmake: attempt to quell CMP0068 warnings.

---
 CMakeLists.txt | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index c404343..2184809 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -38,6 +38,11 @@ set(SDL12COMPAT_SRCS
 )
 add_library(SDL SHARED ${SDL12COMPAT_SRCS})
 
+if(APPLE)
+  set_target_properties(SDL PROPERTIES INSTALL_NAME_DIR "")
+endif()
+
+
 include(CheckCSourceCompiles)
 include(CheckIncludeFile)
 include(CheckCCompilerFlag)