Fix install path for python in CMakePresets

Description

With the current versions of vcpkg (2025-04-16-f9b6c6917b23c1ccf16c1a9f015ebabf8f615045) and cmake (4.0.2) the python development package is not found anymore in AppData/Local/.. - even though it is installed.

A fix for this is to use the python install of vcpkg. vcpkg (with its own python version) is installed anyway as a requirement.

To reproduce this error:

  • clone a fresh version of the unicado package
  • Check out the main branch version of all non-external submodules
  • Update vcpkg
  • Update cmake
  • Make sure, that you are not in a virtual pip environment (pipenv --rm)
  • Try to generate an installer with cmake --workflow --preset x64-windows-release --fresh
  • This attempt to build shall fail

Testing Instructions

  1. Checkout this branch fix/development_setup_python_dev_not_found_win
  2. Update vcpkg and cmake
  3. Remove your build folder in unicado-package
  4. Remove your virtual environment if one exists with pipenv --rm
  5. cmake --workflow --preset x64-windows-release --fresh
  6. Shall install the installer as intended

Developer Checklist

  • Code has been tested locally and/or in pipeline.
  • (if applicable) documentation updated.
  • (if applicable) impact of new dependencies reviewed and included in project.
  • Merge conflicts resolved with the target branch.

Additional Notes

Add any information reviewers should focus on, e.g., specific files, functions, or changes of interest.

Merge request reports

Loading