I\'m not new in C++ although I\'m new in Linux. I\'m using CMake to precompile a cross-platform game engine with some third-party components, but I have a lot of doubts abou
If you are installing the libraries with a package manager, they will probably all end up in the right place. If not you can get the compiler to search for the by providing the an additional search path using the -L flag. You should be able to pass this extra flag to CMake.
Incidentally the -I can be used to add an extra directory to search for include files.