I had to do a cmake build for another wxWidgets application, figured out enough about THAT mess to make a similar build system for rawproc. Along with that, I found that rawproc code I thought was so dependent on wxWidgets 3.1 actually had very little that kept from using 3.0, what Ubuntu carries in its LTS package repository. Made all the needed changes, and now if you clone the rawproc master branch you can build it with just OS package dependencies.
Well, 'cept for librtprocess. To get the goodness of RT demosaic and highlight reconstruction, you still have to download, compile, and install librtprocess. Once you’ve done that, however, all it takes is a -DLIBRTPROCESS=ON in the cmake command line and it’s automatically incorporated, thanks to the inclusion of the cmake find scripts by the librtprocess folk.
Not the case for G’MIC; if you want to link libgmic you’ll need to specify the relevant paths; the README tells you how.
Anyway, no need to download and compile wxWidgets anymore, just another package dependency.