Kai Howelmeyer commented on issue #1 at ptr-project / Conan Config

Kai Howelmeyer
2021-09-02T18:57:39Z

Since the default profile is not present, one will be created. This is based on detecting the version of clang. But when CXX or CC are set in the environment, these variables will be used instead. CMake detects the compiler itself and determines /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc to be the c++ compiler. This is consequently exported as CXX into the environment of the CMake process. Therefore, child processes -- like the conan install command here -- will inherit this variable.