Extends the logic previously added in https://github.com/conan-io/cmake-conan/pull/592, to cover cases where the compiler executable name inside the xcode tolchain path, eg. /Applications/Xcode_14.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain - may not be the default cc or c++ (e.g. can be clang)
Extends the logic previously added in https://github.com/conan-io/cmake-conan/pull/592, to cover cases where the compiler executable name inside the xcode tolchain path, eg.
/Applications/Xcode_14.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain
- may not be the defaultcc
orc++
(e.g. can beclang
)Fix https://github.com/conan-io/cmake-conan/issues/618