If it would be that easy. The problem I had was, that I installed a dependency using my package manager, but to compile my originally wanted software I had to provide a cmake file (of the dependency I installed via my package manager) to the compiler, which I of course did not have.
This often comes with the *-dev version of the dependency. The normal one contains the binaries, the dev version includes headers and often the FindPackage
If it would be that easy. The problem I had was, that I installed a dependency using my package manager, but to compile my originally wanted software I had to provide a cmake file (of the dependency I installed via my package manager) to the compiler, which I of course did not have.
This often comes with the *-dev version of the dependency. The normal one contains the binaries, the dev version includes headers and often the FindPackage