Polytonic / Glitter

Dead Simple OpenGL
http://polytonic.github.io/Glitter/
2.48k stars 418 forks source link

Update CMakeLists to modern practices #68

Open nick-dumas opened 3 years ago

nick-dumas commented 3 years ago

Modern CMake allows target's properties to be imported recursively. This repository was using a combination of CMake targets and explicit path references, which is undesirable. It now uses targets for all dependencies, and the dependencies config is now in a separate file for manageability.

This has been tested on Debian, CMake 3.7.2 TODO: Further testing and maybe update CMake minimum version.