on-internet
← Community

Conan: What is the difference between specifing the compiler in environment variables or in settings?

Stack Overflow ·

This was my Conan (1.59) profile: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=clang compiler.libcxx=libstdc++11 compiler.version=14 os=Linux os_build=Linux [options] [build_requires] [env] Which didn't work, because CMake detected not the Clang executable, but executable /usr/bin/c++: -- Conan toolchain: Setting CMAKE_POSITION_INDEPENDENT_CODE=ON (options.fPIC) -- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF -- The CXX compiler identification is GNU 11.4.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - failed -- Check for working CXX compil

Comments

Sign in or sign up to comment and upvote.

No comments yet.