-
-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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 not correctly finding the configuration package for 3.7.0 #1721
Comments
It returns the same thing for this in CMake, as well
I set these paths because CMake tells me to.
|
This is also included in my CMakeLists
|
This seems to be a vcpkg issue. Could you file your issue here: https://github.com/Microsoft/vcpkg/issues ? |
Can this issue be closed? |
What is the issue you have?
cmake find-package is not correctly finding the nlohmann_json package installed from vcpkg
Please describe the steps to reproduce the issue. Can you provide a small but working code example?
Run
vcpkg search nlohmann-json
Response:
vcpkg-2019.07>vcpkg search nlohmann-json
nlohmann-json 3.7.0 JSON for Modern C++
1a. Install vcpkg.
vcpkg.exe install nlohmann-json
vcpkg installs to
vcpkg-2019.07\packages\nlohmann-json_x86-windows
Use find_package in CMakeLists.txt in project
What is the expected behavior?
CMake finds package.
And what is the actual behavior instead?
Which compiler and operating system are you using? Is it a supported compiler?
Clang I think, on a Windows 10 machine x64
C:/Program Files (x86)/Microsoft Visual Studio/2017/Professional/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe
Did you use a released version of the library or the version from the
develop
branch?Released version 3.7.0 - https://github.com/nlohmann/json/tree/v3.7.0
No compilation steps were taken.
The text was updated successfully, but these errors were encountered: