LDFLAGS

Setting linker flags in CMake

How to link libraries to your C++ project within a Makefile.