From 2554dd7af438594dfc006ece291ad879ab36388b Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Wed, 30 Oct 2024 00:38:50 +0100 Subject: [PATCH] Allow in-tree build --- CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 59c5d255..6b622cd8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,10 +8,6 @@ set(MINOR_VERSION 0) set(MICRO_VERSION 0) set(SDL_REQUIRED_VERSION 3.1.5) -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_ttf source code and call cmake from there") -endif() - project(SDL3_ttf LANGUAGES C VERSION "${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}"