Disable global vcpkg for a CMake project with Visual Studio 17 2022 generator #41260
Replies: 1 comment
-
Using |
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
-
My
vcpkg
installation is messing with everyCMake
project I am trying to build on Windows.I am not activating any local
vcpkg
environment.Here is a minimal project using
box2d
(which is installed on my machine actually).add_executable(test main.cpp)
and
main.cpp
Actually compiles fine, without adding any linking library in the
CMakeLists.txt
which is weird.Now adding to
CMakeLists.txt
produces an errorCould not find a package configuration file provided by "box2d"
:Any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions