CMake 2.8.6
endif
: Ends a list of commands in an if block.
endif(expression)
See the if command.