BUG: Missing matched endif

Change-Id: I331d39185485f75842a95a186b1d19ba2d3d927a
Merge topic 'DoxygenCMakeError'

f02a1fa BUG: Missing matched endif