vcpkg install files appearing in wrong directory #42627
Unanswered
joculatrix
asked this question in
Q&A
Replies: 1 comment
-
Setting |
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
-
Hello!
I've followed through the Install and use packages with CMake guide. It worked as-is, but my LSP (clangd) didn't recognize that
fmt/core.h
existed in-editor which is, of course, not great for editing purposes. Based on a suggestion I saw online, I added the following line to myCMakeLists.txt
:This did get clangd to stop throwing errors, however for some reason doing this caused vcpkg to place
vcpkg_installed/
andvcpkg-manifest-install.log
in the project root directory instead of underbuild/
where those were generated before. Aside from the above line added to my CMakeLists and my generator being set to Unix Makefiles instead of Ninja (I'm on Linux), my project is identical to the example. Anyone know why this happens/how to fix it?Beta Was this translation helpful? Give feedback.
All reactions