Calling CMake "default" Find<Module> from a user defined one


Due to some peculiar setup, I need to add a bit of custom logic to the behavior of CMake provided Find.

The expected behavior for my projects would be: when calling find_package(<Module> ... it should call my version of Find which, in turn, according to some conditions, may call the CMake provided version of Find.

Besides, how can I make a find_dependency call in a configuration file to use the same logic?

I found this proposal (not tested yet) and I was wondering if there could be another (“better”) solution.
NB If I understand correctly the documentation, find_dependency may call return() thus getting back to the “caller” before resetting CMAKE_MODULE_PATH .