diff --git a/tools/cmake/convert_to_cmake.py b/tools/cmake/convert_to_cmake.py index 588b9bdd5..4e3b0a4b6 100755 --- a/tools/cmake/convert_to_cmake.py +++ b/tools/cmake/convert_to_cmake.py @@ -122,7 +122,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() converted_components += convert_component(project_path, p)