From 96a46bf928c20b0e2ec2a810c22af15e271604b4 Mon Sep 17 00:00:00 2001 From: Anton Gerdelan Date: Thu, 14 Mar 2024 20:08:06 +0000 Subject: [PATCH] another attempt to osx build fix --- 27_font_atlas/Makefile.osx | 2 +- 27_font_atlas/generator_main.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/27_font_atlas/Makefile.osx b/27_font_atlas/Makefile.osx index daf8fb2..68a6b51 100644 --- a/27_font_atlas/Makefile.osx +++ b/27_font_atlas/Makefile.osx @@ -1,6 +1,6 @@ CC = clang++ FLAGS = -DAPPLE -Wall -pedantic -INC = -I/sw/include -I/usr/local/include +INC = -I/sw/include -I/usr/local/include -I/usr/local/include/freetype2/ LIBS = -lGLEW -lglfw FRAMEWORKS = -framework Cocoa -framework OpenGL -framework IOKit SRC = main.cpp maths_funcs.cpp diff --git a/27_font_atlas/generator_main.cpp b/27_font_atlas/generator_main.cpp index 9245b72..7a30bba 100644 --- a/27_font_atlas/generator_main.cpp +++ b/27_font_atlas/generator_main.cpp @@ -11,7 +11,7 @@ \******************************************************************************/ #define STB_IMAGE_WRITE_IMPLEMENTATION #include "stb_image_write.h" -#include // FreeType header +#include // FreeType header #include FT_FREETYPE_H // unusual macro #include // needed for bounding box bit #include