Ok, a little explanation here, I had as a fault dependency from the 1st place the libnotifymm-dev which has as dependency the libnotify-dev, which is the one I actually need and that's why everything worked just fine with the wrong dependency. No APIs are actually used from libnotifymm-dev.
Changing from libnotifymm-dev to libnotify-dev fixes the problem of libnotifymm-dev removal without requiring any change in the source code, libnotify-dev was the real requirement.
Ok, a little explanation here, I had as a fault dependency from the 1st place the libnotifymm-dev which has as dependency the libnotify-dev, which is the one I actually need and that's why everything worked just fine with the wrong dependency. No APIs are actually used from libnotifymm-dev.
Changing from libnotifymm-dev to libnotify-dev fixes the problem of libnotifymm-dev removal without requiring any change in the source code, libnotify-dev was the real requirement.