Skip to content

Specify a cmake export set#268

Merged
davea42 merged 1 commit intodavea42:mainfrom
jeremy-rifkin:jr/export-set
Nov 21, 2024
Merged

Specify a cmake export set#268
davea42 merged 1 commit intodavea42:mainfrom
jeremy-rifkin:jr/export-set

Conversation

@jeremy-rifkin
Copy link
Copy Markdown
Contributor

I got an issue on my library cpptrace about specifying an export set in cmake jeremy-rifkin/cpptrace#189. It looks like it's important to both install(EXPORT) and export() in cmake.

In order to patch this in my repository, it looks like libdwarf needs to define an export set too. This PR implements this. Tested locally and things seem ok.

Copy link
Copy Markdown
Owner

@davea42 davea42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Accepted.

@davea42 davea42 merged commit 9a9d172 into davea42:main Nov 21, 2024
@davea42 davea42 self-assigned this Nov 21, 2024
@davea42
Copy link
Copy Markdown
Owner

davea42 commented Nov 21, 2024

It's not causing any problems in my cmake builds.

@jeremy-rifkin
Copy link
Copy Markdown
Contributor Author

Thanks Dave! It has worked for me as well but I guess this only causes problems when a target tries to define an export() set while also using libdwarf.

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