question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[package] jsonformoderncpp/all: cmake exported name is different than upstream

See original GitHub issue

according to upstream: https://github.com/nlohmann/json#cmake

cmake should use nlohmann_json as target name. conan index is using jsonformoderncpp and jsonformoderncpp::jsonformoderncpp

this should be fixed with e.g. self.cpp_info.name in the recipe

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Croydoncommented, Nov 10, 2019

//@iceflowre

0reactions
danimtbcommented, Nov 25, 2019

Ok, after some internal discussion we have decided to go with the copy instead of the renaming. This will allow keeping the recipe repo (this) consistent with the packages uploaded to the center and it will be easier to understand.

Read more comments on GitHub >

github_iconTop Results From Across the Web

The upstream branch of your current branch does not match ...
This happens if the name of the upstream branch and local branch do not match, which sometimes happens, and usually is unwanted:
Read more >
Simplify exporting of CMake Packages (#18634) · Issues
Exporting CMake packages currently requires some boilerplate that is error prone and hard to get right. As an effect, many projects are not ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found