Skip to content

Fix error in CMake config-file package #387

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

Merged

Conversation

eaaltonen
Copy link
Contributor

Commit

  • Remove greater than sign from link interface

Fixes error

  The link interface of target "jwt-cpp::jwt-cpp" contains:

    picojson::picojson>

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

eaaltonen and others added 2 commits June 18, 2025 18:17
Fixes error
```
  The link interface of target "jwt-cpp::jwt-cpp" contains:

    picojson::picojson>

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.
```
@prince-chrismc
Copy link
Collaborator

What version of CMake and how are you generating the Config for picojson?

@eaaltonen
Copy link
Contributor Author

What version of CMake

@prince-chrismc : i observed this with CMake versions 4.0.3 ( from conda-forge in conda-build) and CMake version 3.31.6 bundled with CLion.

how are you generating the Config for picojson?

This is based on my original PR to picojson which received no reply; Since

  • picojson::picojson would pretty much be the default target name for picojson in CMake
  • this repos CMake already had a reference to the target (minus the >)

we recently merged a change to https://github.com/conda-forge/picojson-feedstock that creates a CMake config-file package. It is now included in Conda picojson packages build versions 1.

@prince-chrismc prince-chrismc merged commit cf0dab1 into Thalhammer:master Jun 19, 2025
58 of 59 checks passed
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

Successfully merging this pull request may close these issues.

2 participants