Remove freetype dependency

This commit is contained in:
Riyyi
2021-01-12 23:16:26 +01:00
parent 8dabc2d1a0
commit de477e8d38
4 changed files with 1 additions and 10 deletions
-3
View File
@@ -10,6 +10,3 @@
[submodule "inferno/vendor/stb"] [submodule "inferno/vendor/stb"]
path = inferno/vendor/stb path = inferno/vendor/stb
url = https://github.com/nothings/stb url = https://github.com/nothings/stb
[submodule "inferno/vendor/freetype"]
path = inferno/vendor/freetype
url = https://github.com/aseprite/freetype2
+1 -5
View File
@@ -46,7 +46,6 @@ endif()
# Include all headers # Include all headers
include_directories( include_directories(
"${ENGINE}/vendor/freetype/include"
"${ENGINE}/vendor/glad/include" "${ENGINE}/vendor/glad/include"
"${ENGINE}/vendor/glfw/include" "${ENGINE}/vendor/glfw/include"
"${ENGINE}/vendor/glm" "${ENGINE}/vendor/glm"
@@ -77,11 +76,8 @@ 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 freetype) target_link_libraries(${ENGINE} glfw)
# ------------------------------------------ # ------------------------------------------
-1
View File
@@ -35,7 +35,6 @@ Or
* Libraries * Libraries
# - [[https://github.com/bulletphysics/bullet3][Bullet]] # - [[https://github.com/bulletphysics/bullet3][Bullet]]
- [[https://github.com/aseprite/freetype2][FreeType2]]
- [[https://github.com/Dav1dde/glad][glad]] - [[https://github.com/Dav1dde/glad][glad]]
- [[https://github.com/glfw/glfw][GLFW]] - [[https://github.com/glfw/glfw][GLFW]]
- [[https://github.com/g-truc/glm][GLM]] - [[https://github.com/g-truc/glm][GLM]]