Here is an example of the cmake fetch if the find_package() cannot be used. Fetch is useful when building custom version of popular libraries.
find_package()
In the root directory launch the following:
mkdir build && cd build cmake .. cmake --build .