From e73da15d29cc1dedfaf28b66b5424f4124a1b866 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Mon, 20 Dec 2021 00:04:24 +0300
Subject: [PATCH] added big fat FIXME notes to cmake script
---
CMakeLists.txt | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f56ab42..6750436 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,3 +1,9 @@
+# FIXME: CMAKE SUPPORT IN SDL2_ttf IS VERY INCOMPLETE YET !!!
+#
+# FIXME: make it able build against system libs or the included ones.
+# FIXME: handle library versioning.
+# FIXME: test accross different target platforms.
+
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_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()
@@ -7,7 +13,6 @@ cmake_minimum_required(VERSION 3.0)
project(SDL_ttf C)
if (ANDROID)
-
option(TTF_WITH_HARFBUZZ "use harfbuzz to improve text shaping" OFF)
add_library(SDL2_ttf SHARED)
@@ -40,7 +45,6 @@ if (ANDROID)
else()
-
include(GNUInstallDirs)
include(CMakePackageConfigHelpers)
@@ -131,6 +135,4 @@ if (PKG_CONFIG_FOUND)
endif ()
endif ()
-
endif()
-