Browse Source

Add freetype target in the build

master
Riyyi 4 years ago
parent
commit
ed9fba20a8
  1. 5
      CMakeLists.txt

5
CMakeLists.txt

@ -77,8 +77,11 @@ set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
# Add GLFW target to project # Add GLFW target to project
add_subdirectory(${ENGINE}/vendor/glfw) add_subdirectory(${ENGINE}/vendor/glfw)
# Add FreeType2 target to project
add_subdirectory(${ENGINE}/vendor/freetype)
add_library(${ENGINE} STATIC ${ENGINE_SOURCES}) add_library(${ENGINE} STATIC ${ENGINE_SOURCES})
target_link_libraries(${ENGINE} glfw) target_link_libraries(${ENGINE} glfw freetype)
# ------------------------------------------ # ------------------------------------------

Loading…
Cancel
Save