cmake: on generating api doc disable using multiple dot targets

Authored by habacker on Apr 16 2020, 3:47 PM.