Skip to content

Backport cmake tweaks#515

Open
mabruzzo wants to merge 4 commits into
grackle-project:mainfrom
mabruzzo:backport-cmake-tweaks
Open

Backport cmake tweaks#515
mabruzzo wants to merge 4 commits into
grackle-project:mainfrom
mabruzzo:backport-cmake-tweaks

Conversation

@mabruzzo

Copy link
Copy Markdown
Collaborator

This PR backports some issues with the meta files created/installed by CMake in order to make integration easier with external applications.

The fundamental problem is that we don't regularly test these approaches. I'm ~95% done with implementing some automated tests for these approaches. Those tests will be introduced in a PR to newchem-cpp (this PR simply backports some of those bugfixes)

The `--prefix` case wasn't being properly handled
I forgot that the order of arguments definitely matters
Essentially, problems started cropping up because toolchain::m wasn't
properly declared within the CMake Package Config file. I worked around
the issue by getting rid of the target

@brittonsmith brittonsmith left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

As long as you think we're not introducing merge conflicts, I'm fine with merging this. Feel free to do so if you think this isn't a concern.

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