use system glm instead of fetching
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user