This are the ways I see for dealing with external libraries in a cross-platform project in an automated way. (Why are there no cross platform package managers?)
What is the workflow for handling external libraries in cross-platform C++ projects? With many big projects out there, I guess there must have emerged one. If not, based on which criteria can I decide between reasonable ways?
Try CMAKE
CMake, is a cross-platform, open-source build system. CMake is a family of tools designed to build, test and package software. CMake is used to control the software compilation process using simple platform and compiler independent configuration files. CMake generates native makefiles and workspaces that can be used in the compiler environment of your choice.