CMake complains about this block not being closed