cmake-conan icon indicating copy to clipboard operation
cmake-conan copied to clipboard

Autodetect get wrong arch with QtCreator mingw5.3

Open Wzshun opened this issue 3 years ago • 1 comments
trafficstars

My env: windows 10 x64 QtCreator 5.9.9 with MinGW 5.3_32

I need change

conan_cmake_autodetect(settings )
->
conan_cmake_autodetect(settings ARCH x86)

The default version will get settings like that:

[settings]
arch=x86_64
arch_build=x86_64

So, if I don't want to special concrete arch in cmakelists.txt, how can I do that? or maybe something I missed, I'm newer to Conan/Cmake...

Wzshun avatar Mar 09 '22 09:03 Wzshun

Hi @Wzshun, Could you please provide more information on your use case? Maybe a minimal reproducible example and a brief summary of what you are trying to do? Thanks a lot.

czoido avatar Mar 09 '22 16:03 czoido