Don't repeat conditions in endif, endfunction, endmacro etc 

Use cmakelint to check for this