There is an error in projects that utilise RTT for CLI. SDK_CONFIG.H contains the line CLI_RTT_ENABLE. This must be CLI_RTT_ENABLED for the macro NRF_MODULE_ENABLED(CLI_RTT) to work correctly.
Note also that such projects should also contain code to prevent compile UART support for RTT.