From ed9fba20a8a43a21b6346e0873a9f69fecbcbb43 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Wed, 30 Dec 2020 23:16:39 +0100 Subject: [PATCH] Add freetype target in the build --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fc22600..ed010a1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -77,8 +77,11 @@ set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE) # Add GLFW target to project add_subdirectory(${ENGINE}/vendor/glfw) +# Add FreeType2 target to project +add_subdirectory(${ENGINE}/vendor/freetype) + add_library(${ENGINE} STATIC ${ENGINE_SOURCES}) -target_link_libraries(${ENGINE} glfw) +target_link_libraries(${ENGINE} glfw freetype) # ------------------------------------------