- Improved CMake if/else/foreach blocks consistency.