Sunshine icon indicating copy to clipboard operation
Sunshine copied to clipboard

fix(win/cmake): file(TO_NATIVE_PATH) broke in latest cmake

Open ns6089 opened this issue 5 months ago • 3 comments

Description

file(TO_NATIVE_PATH) broke in latest cmake.

At least in the scoop version of cmake-3.30.3 slashes don't get reversed. cmake_path(CONVERT TO_NATIVE_PATH_LIST) works fine and this seems to be the intended way to do it anyway. "New in version 3.20."

Screenshot

Capture

Issues Fixed or Closed

Type of Change

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [ ] Dependency update (updates to dependencies)
  • [ ] Documentation update (changes to documentation)
  • [ ] Repository update (changes to repository files, e.g. .github/...)

Checklist

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [x] I have added or updated the in code docstring/documentation-blocks for new or existing methods/components

ns6089 avatar Sep 06 '24 13:09 ns6089