You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, it does not seem like it is necessary to specify anymore. From Visual Studio 2022 documentation on "CMake Toolchain File":
The path of the toolchahin file supplied to CMake. Toolchain files specify locations of compilers and toolchain utilities, and other target platform and compiler related information. By default, Visual Studio will try and use the vcpkg toolchain file if this setting is unspecified.
I have vcpkg installed to C:\vcpkg, instead of C:\dev\vcpkg, so the build fails ordinarily. When this variable is removed from CMakeSettings.json, the Visual Studio CMake build succeeds.
If it is not a problem, I think simply removing this setting would make it easier to build on setups that have vcpkg installed elsewhere, such as GitHub Actions.
The text was updated successfully, but these errors were encountered:
Hello.
In
CMakeSettings.json
, there is:However, it does not seem like it is necessary to specify anymore. From Visual Studio 2022 documentation on "CMake Toolchain File":
I have vcpkg installed to
C:\vcpkg
, instead ofC:\dev\vcpkg
, so the build fails ordinarily. When this variable is removed fromCMakeSettings.json
, the Visual Studio CMake build succeeds.If it is not a problem, I think simply removing this setting would make it easier to build on setups that have vcpkg installed elsewhere, such as GitHub Actions.
The text was updated successfully, but these errors were encountered: