From 01247ade9d46d303eb9ec4f876bcb724a41b0723 Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Fri, 29 Sep 2023 18:26:07 +0200 Subject: [PATCH] Remove ability to do '#include "SDL_ttf.h"' This reverts commit 125a5a493939a2fb67b607081e74293a78349eb6. --- CMakeLists.txt | 2 -- cmake/sdl3-ttf.pc.in | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1eb269b4..d1f43761 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -104,9 +104,7 @@ endif() target_include_directories(${sdl3_ttf_target_name} PUBLIC "$" - "$" "$" - "$" ) target_compile_definitions(${sdl3_ttf_target_name} PRIVATE BUILD_SDL diff --git a/cmake/sdl3-ttf.pc.in b/cmake/sdl3-ttf.pc.in index c725e390..f467bfd8 100644 --- a/cmake/sdl3-ttf.pc.in +++ b/cmake/sdl3-ttf.pc.in @@ -10,4 +10,4 @@ Requires: sdl3 >= @SDL_REQUIRED_VERSION@ Libs: -L${libdir} -lSDL3_ttf Requires.private: @PC_REQUIRES@ Libs.private: @PC_LIBS@ -Cflags: -I${includedir} -I${includedir}/SDL3_ttf +Cflags: -I${includedir}