First time here? Check out the FAQ!
You can use CMAKE method for compiling the code. In CMakeLists.txt, under find_package command, you can specify the exac