Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"vcpkg in CMake projects" Document Repeats Same Code Snippet for "Absolute Path" Example #431

Open
GuyEP-Modulate opened this issue Nov 20, 2024 · 0 comments

Comments

@GuyEP-Modulate
Copy link

Type of issue

Typo

Description

The code snippet shown below the text "If you need to use an absolute path for vcpkg specific to your current machine, you can use CMakeUserPresets.json and add it to your .gitignore file." is identical to the code snippet from the section above. In both cases, the code snippet is:

{
  "version": 2,

  "configurePresets": [
    {
      "name": "debug",
      "cacheVariables": {
        "CMAKE_TOOLCHAIN_FILE": "$env{VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake"
      }
    }
  ]
}

Shouldn't the code snippet show an example of an absolute path?

Page URL

https://learn.microsoft.com/en-us/vcpkg/users/buildsystems/cmake-integration

Content source URL

https://github.com/Microsoft/vcpkg-docs/blob/main/vcpkg/users/buildsystems/cmake-integration.md

Document Version Independent Id

5f3eeddc-41cc-babc-6893-75c0c0b4d240

Article author

@vicroms

Metadata

  • ID: 5f3eeddc-41cc-babc-6893-75c0c0b4d240
  • Service: vcpkg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant