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

Changes to support building as a submodule #218

Merged
merged 2 commits into from
Nov 15, 2023

Conversation

benson31
Copy link
Collaborator

Previously we had been using CMAKE_SOURCE_DIR rather frequently. However, this variable corresponds to the top-level source directory, so if one were to attempt to build Aluminum as a subproject, things would go awry quickly.

I also cleaned up the use of Git, preferring CMake's built-in FindGit.cmake rather than manually finding the executable.

@benson31 benson31 added the enhancement New feature or request label Nov 15, 2023
Copy link
Collaborator

@ndryden ndryden left a comment

Choose a reason for hiding this comment

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

Looks good, especially the Git cleanup.

@benson31 benson31 merged commit 5792421 into LLNL:master Nov 15, 2023
@benson31 benson31 deleted the build-as-submodule branch November 15, 2023 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants