Summary
This chapter has equipped you with the knowledge to manage dependencies effectively when utilizing modern, well-supported projects. Typically, we would rely on the library being available in the system. If it's not, we'd resort to FetchContent, an approach that is particularly suitable for dependencies that are small and quick to compile.
However, for more substantial libraries like Qt, this method could be time-consuming. In such cases, package managers offering precompiled libraries tailored to the user's environment become advisable. While tools like Apt or Conan provide solutions, they are either too system-specific or complex to be covered in this book. The good news is that most users can install the dependencies your project may require, as long as clear installation instructions are provided.
This chapter has equipped you with the knowledge to identify system-installed packages using CMake's find-modules and how to utilize config-files that come with...