其实仔细看上面的错误提示也给出了解决方案,就是通过设置CONAN_DISABLE_CHECK_COMPILER禁用编译器检查。这个值默认为false,会检查找到的编译器版本是否与settings.compiler.version匹配。 这里的CONAN_DISABLE_CHECK_COMPILER不是环境变量是cmake变量,所以要将在cmake交叉编译工具链文件添加下面这一行就好了 代码语言:javasc...
Describe the bug https://docs.conan.io/2/reference/tools/build.html#conan-tools-build-check-min-cppstdsays that check_*_cppstd should be able to infer the default cppstd from compiler.version in cases where it has not been overridden: It not settings.compiler.cppstd, the tool will use ...
I added "3.4" to the possible settings.yml (this file is in the Conan cache, in your <userhome>/.conan (this file can be managed in production with conan config install, so it is not necessary to do this manual change) The piece that the tricore compiler was not liking that Conan ...
Here is how it can be done (requires conan 1.33 or later): ./ThirdParty/: python 1_export_custom.py ./ThirdParty/: conan install . --build -o platform_name=myelbrus ./ : cmake -B build/linux64 -DCMAKE_BUILD_TYPE=Release -DTHIRDPARTY_PLATFORM_OVERRIDE=myelbrus ...
[%- if use_conan == true %] Expand Down 4 changes: 2 additions & 2 deletions4vcpkg.json Original file line numberDiff line numberDiff line change Expand Up@@ -16,7 +16,7 @@ }, { "name":"cmake-modules", "version":"1.4.37" ...