mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-31 10:50:16 -06:00
When using a Fortran compiler that produces PIC executables by default with a C compiler that does not produce PIC by default then the mangling detection executable fails to link. Explicitly enable PIC for the C compiler just in case the Fortran compiler needs it to link. Issue: #16405