diff --git a/tools/cmake/convert_to_cmake.py b/tools/cmake/convert_to_cmake.py index d2d46d462c..9ad48834ad 100755 --- a/tools/cmake/convert_to_cmake.py +++ b/tools/cmake/convert_to_cmake.py @@ -120,7 +120,7 @@ def convert_project(project_path): for p in component_paths: if "MSYSTEM" in os.environ: cmd = ["cygpath", "-w", p] - p = subprocess.check_output(cmd).strip() + p = subprocess.check_output(cmd).decode('utf-8').strip() convert_component(project_path, p)