SDL_mixer: Allow in-tree build

From fc17ab2f866e2afa43c947c48a9ebca60d00a573 Mon Sep 17 00:00:00 2001
From: Anonymous Maarten <[EMAIL REDACTED]>
Date: Wed, 30 Oct 2024 00:38:32 +0100
Subject: [PATCH] Allow in-tree build

---
 CMakeLists.txt | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8230911b..2c305ae6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,10 +8,6 @@ set(MINOR_VERSION 0)
 set(MICRO_VERSION 0)
 set(SDL_REQUIRED_VERSION 3.0.0)
 
-if(CMAKE_CURRENT_SOURCE_DIR STREQUAL CMAKE_CURRENT_BINARY_DIR)
-    message(FATAL_ERROR "Prevented in-tree built. Please create a build directory outside of the SDL_mixer source code and call cmake from there")
-endif()
-
 project(SDL3_mixer
     LANGUAGES C
     VERSION "${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}"