Skip to content
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

cmake: allow bitpit to be built as a subproject of another cmake project #38

Merged
merged 2 commits into from
Jan 29, 2020

Conversation

pkestene
Copy link
Contributor

provide modifications mentionned in issue #37

@andrea-iob andrea-iob self-requested a review January 24, 2020 15:12
@andrea-iob andrea-iob changed the title Issue37 cmake: allow bitpit to be built as a subproject of another cmake project Jan 24, 2020
Copy link
Member

@andrea-iob andrea-iob left a comment

Choose a reason for hiding this comment

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

The changes are fine (tested with cmake 3.13.2 and 3.10.2).

May I ask you to change the commit messages? Something like the following would allow us to better understand what the changes are needed for.

cmake: change CMAKE_PROJECT_NAME into PROJECT_NAME

This is needed in order to allow bitpit to be built as a subproject of another cmake project.
cmake: change the way CMAKE_MODULE_PATH is set in top-level CMakeLists.txt

This is needed in order to allow bitpit to be built as a subproject of another cmake project.

This is needed in order to allow bitpit to be built as a subproject of another cmake project.
This is needed in order to allow bitpit to be built as a subproject of another cmake project.
@andrea-iob andrea-iob merged commit 2ece2e4 into optimad:master Jan 29, 2020
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