use system glm instead of fetching

This commit is contained in:
2025-11-16 17:14:06 +03:00
parent fc51065d85
commit 5ae1c82ef6

View File

@@ -20,14 +20,7 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}/src
add_executable(TimeCoil ${PROJECT_SOURCES})
FetchContent_Declare(
glm
GIT_REPOSITORY https://github.com/g-truc/glm.git
GIT_TAG 5847dd91b2dc85cdd8d395ccf68985310e3e0e40
)
FetchContent_MakeAvailable(glm)
find_package(glfw3 3.4 REQUIRED)
find_package(OpenGL REQUIRED)
target_link_libraries(TimeCoil glfw OpenGL::GL glm)
find_package(glm REQUIRED)
target_link_libraries(TimeCoil glfw OpenGL::GL glm::glm)