Handle compiler arguments during first CMake invocation

Resolve differences in behavior with ENV{CC} and CMAKE_<LANG>_COMPILER when the user provides both the compiler and multiple arguments. Also consider compiler arguments provided via CMAKE_<LANG>_FLAGS_INIT when performing compiler identification.

Fixes: #20089 (closed)

Edited by Kitware Robot

Merge request reports

Loading