CMake 2.8.6
endfunction
: Ends a list of commands in a function block.
endfunction(expression)
See the function command.