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

nlohmann_jsonConfig.cmake #348

Open
wangguan1995 opened this issue Mar 30, 2023 · 1 comment
Open

nlohmann_jsonConfig.cmake #348

wangguan1995 opened this issue Mar 30, 2023 · 1 comment

Comments

@wangguan1995
Copy link

Call Stack (most recent call first):
cmake/FindAllDependencies.cmake:53 (find_package)
Settings.cmake:25 (find_package)
CMakeLists.txt:6 (include)

CMake Error at cmake/FindAllDependencies.cmake:157 (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.
Call Stack (most recent call first):
Settings.cmake:25 (find_package)
CMakeLists.txt:6 (include)

@LauraBalasso-2
Copy link

you should run the command ccmake .. from the build directory and change the path to nlohmann_json_DIR to $YOUR_PATH_TO_PYMESH/third_party/build/json

if you compiled third party libraries correctly, the file nlohmann_jsonConfig.cmake swill be found there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants