diff options
| author | ruki <[email protected]> | 2023-09-07 22:42:13 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-09-07 22:42:13 +0800 |
| commit | 94d538bc662124b6f4f5f06b2954bd6e2c633a6a (patch) | |
| tree | 9f085402c2a6295ef65e4ebb5498d09d880a3a19 | |
| parent | 41db6948efc56963420bbb07fd2e1204c9ce16a2 (diff) | |
fix conan compare #4171
| -rw-r--r-- | xmake/modules/package/manager/conan/v2/install_package.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/manager/conan/v2/install_package.lua b/xmake/modules/package/manager/conan/v2/install_package.lua index 516f43eaa..eb4299d83 100644 --- a/xmake/modules/package/manager/conan/v2/install_package.lua +++ b/xmake/modules/package/manager/conan/v2/install_package.lua @@ -179,7 +179,7 @@ function _conan_generate_compiler_profile(profile, configs, opt) profile:print("compiler=msvc") profile:print("compiler.version=" .. assert(vsvers[vs], "unknown msvc version!")) -- @see https://github.com/conan-io/conan/issues/12387 - if vs >= 2015 then + if tonumber(vs) >= 2015 then profile:print("compiler.cppstd=14") end local vs_runtime = configs.vs_runtime |
