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

Fix variable usage to reduce conflicts with hdf5 library #44

Merged
merged 6 commits into from
Dec 8, 2023

Conversation

byrnHDF
Copy link
Collaborator

@byrnHDF byrnHDF commented Nov 29, 2023

Do not calculate version if included in library
add_subdirectory commands should be after checking for requirements
Correct names and variables
Change project specific variables to not clash with HDF5 library names

@byrnHDF byrnHDF added the bug Something isn't working label Nov 29, 2023
@byrnHDF byrnHDF self-assigned this Nov 29, 2023
@byrnHDF byrnHDF changed the title Do not calculate version if included in library Fix variable usage to reduce conflicts with hdf5 library Dec 1, 2023
# Build examples
#-----------------------------------------------------------------------------
add_subdirectory (C)
if (HDF_BUILD_FORTRAN AND HDF5_BUILD_FORTRAN)

Choose a reason for hiding this comment

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

It would be good to update these variable names to use a prefix like "H5EX" or "HDF5EX" as used above so that we know where the variables come from and what they're used for. It would also be good to decide which among "H5EX" and "HDF5EX" we wish to use and try to be consistent using that every across these CMakeLists files for the examples.

@lrknox lrknox merged commit 8d6f3f1 into master Dec 8, 2023
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants