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

cmake can not find package installed by vcpkg #23107

Closed
insar-dev opened this issue Feb 15, 2022 · 4 comments
Closed

cmake can not find package installed by vcpkg #23107

insar-dev opened this issue Feb 15, 2022 · 4 comments
Assignees
Labels
requires:repro The issue is not currently repro-able

Comments

@insar-dev
Copy link

Describe the bug
A clear and concise description of what the bug is.

I have installed boost by vckpg.

when I develop linux app by visual studio + cmake + vcpkg, cmake can not find boost package.
image

if i use vscode + cmake + vcpkg in linux, cmake can find it.

Environment

  • OS: [e.g. Windows/Linux etc...] windows
  • Compiler: vs2022 + cmake3.22.2 + vcpkg
@LilyWangLL LilyWangLL added the requires:repro The issue is not currently repro-able label Feb 16, 2022
@LilyWangLL
Copy link
Contributor

Thanks for posting this issue. Do you install which component of boost? And could you please remove CMake which not installed by VCPKG and try again? CMake 3.22.0 will be fixed in PR #22985.

@insar-dev
Copy link
Author

boost version is 1.78.
why vscode cmake can find it ?

@LilyWangLL
Copy link
Contributor

Sorry I am late. Now cmake in VCPKG has been updated to version 3.22.2. Does this issue still exist?

@LilyWangLL
Copy link
Contributor

Thanks for posting this issue. Please reopen this issue if this is still a problem for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires:repro The issue is not currently repro-able
Projects
None yet
Development

No branches or pull requests

2 participants