As in title, I am wondering about what is better, attach graphic libraries(e.g glew, glm, glfw, etc.) in my git repository, or make a special cmake modules that download it while building?
I heard that it is not proper to add libraries to repo explicitly, especially if they are large, but making cmake modules for each library can be very infernal...
What in your opinion is better way? Maybe you have some other idea? What is your experience with it?
P.S. I use in my project cmake.
Edit: You can assume that libraries has around 10-20MB, and another project files < 5MB.