diff --git a/tools/cmake/convert_to_cmake.py b/tools/cmake/convert_to_cmake.py index d792dd11b5..5eea50f81c 100755 --- a/tools/cmake/convert_to_cmake.py +++ b/tools/cmake/convert_to_cmake.py @@ -118,6 +118,10 @@ def convert_project(project_path): # Convert components as needed for p in component_paths: + if "MSYSTEM" in os.environ: + cmd = ["cygpath", "-w", p] + p = subprocess.check_output(cmd).strip() + convert_component(project_path, p) project_name = project_vars["PROJECT_NAME"]