pcercuei / kmsgrab

Simple screenshot tool for DRM/KMS drivers.
8 stars 8 forks source link

CMake: Use targets instead of variables for dependency management #3

Closed menschel-d closed 10 months ago

menschel-d commented 11 months ago

Concerning the references to the CMake documentation in the commit messages, I've decided to let them point to the latest concrete version (which is 3.28 as of this writing). Although it is possible to point to the "latest" version [1], there is a risk that links to specific pages and/or anchors will stop working, should the CMake developers decide to restructure the documentation in the future.

By the way, thank you for this nice tool. I've stumbled upon it while searching the OpenEmbedded Layer Index for an alternative to fbgrab, but for KMS/DRM instead of framebuffer. [2] It has helped me to debug a problem on an embedded system with a tiny monochrome display of just 128x64 pixels.

[1] https://cmake.org/cmake/help/latest/ [2] https://layers.openembedded.org/layerindex/recipe/332830/