Skip to content

Handle compiler arguments during first CMake invocation

Fred Baksik requested to merge fred23/cmake:compiler_flags into master

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