Answer the question
In order to leave comments, you need to log in
Smake issue in vs 2019?
I opened the Folder in Sun2019 and I get this error:
Severity Code Description Project File Line Suppression State
Error CMake Error at C:/vcpkg-2020.04/vcpkg-2020.04/scripts/buildsystems/vcpkg.cmake:329 (_find_package):
Could not find a package configuration file provided by "nlohmann_json"
with any of the following names:
nlohmann_jsonConfig.cmake
nlohmann_json-config.cmake
Add the installation prefix of "nlohmann_json" to CMAKE_PREFIX_PATH or set
"nlohmann_json_DIR" to a directory containing one of the above files. If
"nlohmann_json" provides a separate development package or SDK, be sure it
has been installed. C:/vcpkg-2020.04/vcpkg-2020.
Answer the question
In order to leave comments, you need to log in
Fixed by specifying nlohmann_json environment variable: C:\vcpkg-2020.04\vcpkg-2020.04\installed\x64-windows
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question