summaryrefslogtreecommitdiffstats
path: root/Modules/FindPython
diff options
context:
space:
mode:
authorAxel Huebl <axel.huebl@plasma.ninja>2021-02-11 03:06:45 (GMT)
committerBrad King <brad.king@kitware.com>2021-02-11 14:05:19 (GMT)
commit8251b62ba0165526eaca9e949ee28860af82521f (patch)
tree7077ed6185f29e7486afe20883771ebed227aeff /Modules/FindPython
parentb1e544dd64061439e980d9ed513fefa32dbb42ba (diff)
downloadCMake-8251b62ba0165526eaca9e949ee28860af82521f.zip
CMake-8251b62ba0165526eaca9e949ee28860af82521f.tar.gz
CMake-8251b62ba0165526eaca9e949ee28860af82521f.tar.bz2
FindMPI: Fix reason for a non-enabled non-requested language
In pure C/CXX projects, when doing an optional search for C/CXX MPI APIs, I keep getting a reason appended of the form: ``` -- Could NOT find MPI_C (missing: MPI_C_LIB_NAMES MPI_C_HEADER_DIR MPI_C_WORKS) -- Could NOT find MPI_CXX (missing: MPI_CXX_LIB_NAMES MPI_CXX_HEADER_DIR MPI_CXX_WORKS) -- Could NOT find MPI (missing: MPI_C_FOUND MPI_CXX_FOUND) Reason given by package: MPI component 'Fortran' was requested, but language Fortran is not enabled. ``` The reason makes no sense since I did not request Fortran and thus confuses the reader. It is now only added if the component was truly requested.
Diffstat (limited to 'Modules/FindPython')
0 files changed, 0 insertions, 0 deletions