Skip to content

Backport cmake tweaks#515

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

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

Conversation

@mabruzzo
Copy link
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
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.

1 participant