E3SM-Project / E3SM-Project/scorpio

FindNetCDF.cmake should not ignore `NetCDF_<COMP>_PATHS` if `MPI_<COMP>_FOUND` is TRUE.

Open
#456 9 comments 0 reactions 1 assignee Claimed by @dqwu View on GitHub
bug cmake
Dominant language
C++
Stars
22
Forks
20
Avg merge
12d 19m
Merged PRs (30d)
1

Description

The helper function `initialize_paths` completely overwrites the user-provided `NetCDF__PATHS` variable if `MPI__FOUND` is TRUE.

Instead, it should _append_ additional paths to it.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.