|
|
|
@ -46,7 +46,6 @@ endif()
|
|
|
|
|
|
|
|
|
|
# Include all headers |
|
|
|
|
include_directories( |
|
|
|
|
"${ENGINE}/vendor/freetype/include" |
|
|
|
|
"${ENGINE}/vendor/glad/include" |
|
|
|
|
"${ENGINE}/vendor/glfw/include" |
|
|
|
|
"${ENGINE}/vendor/glm" |
|
|
|
@ -77,11 +76,8 @@ 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 freetype) |
|
|
|
|
target_link_libraries(${ENGINE} glfw) |
|
|
|
|
|
|
|
|
|
# ------------------------------------------ |
|
|
|
|
|
|
|
|
|