Skip to content

Commit

Permalink
another attempt to osx build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
capnramses committed Mar 14, 2024
1 parent 9d2e3ef commit 96a46bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 27_font_atlas/Makefile.osx
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion 27_font_atlas/generator_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
\******************************************************************************/
#define STB_IMAGE_WRITE_IMPLEMENTATION
#include "stb_image_write.h"
#include <freetype2/ft2build.h> // FreeType header
#include <ft2build.h> // FreeType header
#include FT_FREETYPE_H // unusual macro
#include <freetype/ftglyph.h> // needed for bounding box bit
#include <stdio.h>
Expand Down

0 comments on commit 96a46bf

Please sign in to comment.