conan-io / cmake-conan

CMake wrapper for conan C and C++ package manager
MIT License
822 stars 250 forks source link

Fix propagation of AppleClang compiler when inside xcode #619

Closed jcar87 closed 8 months ago

jcar87 commented 8 months ago

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)

Fix https://github.com/conan-io/cmake-conan/issues/618