April 16, 2023
How to integrate an external library that doesn't support CMake
If you’re trying to integrate an external library into your project, most of the time you should be able to make use of CMake’s FetchContent. Although, if the external library isn’t compatible with CMake that won’t work. Here are two alternative methods for doing this:
Use ExternalProject_Add If you’re using a CMake version >3.2 then you should be able to take advantage of ExternalProject_Add. You can point it at a git repository which makes it very easy to use.
Read more