Replies: 1 comment
-
If it uses system libraries and tools, then this lock file must be updated, as the system cmake may be updated or uninstalled by the user at any time, and if not updated, it will be broken.
So to ensure that the lock file is completely unchanged, we must use all packages from the xmake-repo repository and completely disable the use of libraries and tools from the system. That is, the lock file cannot lock libraries and tools from the system because their updates are not controlled by xmake,unless we disable all system libraries and tools. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Xmake Version
v2.7.9+HEAD.c87922676
Operating System Version and Architecture
Windows 11
Describe Bug
When building a project requires a package that needs cmake, xmake detects the local cmake binary included with Visual Studio and automatically modifies the
.lock
file to point to a non-existent package version3.26.0-msvc3
This is before:

This is after running

xmake
:Expected Behavior
Do not automatically modify the
.lock
file when falling back to system installed tools.Project Configuration
test.zip
Additional Information and Error Logs
test.txt
Beta Was this translation helpful? Give feedback.
All reactions