Functional cmake configuration.