diff options
| author | ruki <[email protected]> | 2021-02-27 00:41:57 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-02-27 00:41:57 +0800 |
| commit | ad5b620202ef0d6cef1087bf15d3f5d1e06189f4 (patch) | |
| tree | fb11498adf5fe6fba0710f3692b203a9821b3fc3 | |
| parent | f5c5b95be6882bfecb4485927dced531d76028f9 (diff) | |
add some comments
| -rw-r--r-- | xmake/modules/package/tools/cmake.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/cmake.lua b/xmake/modules/package/tools/cmake.lua index 8b3b606fd..ba3592a32 100644 --- a/xmake/modules/package/tools/cmake.lua +++ b/xmake/modules/package/tools/cmake.lua @@ -229,7 +229,8 @@ function _get_configs_for_windows(package, configs, opt) end end -- we maybe need patch `cmake_policy(SET CMP0091 NEW)` to enable this argument for some packages - -- @see https://github.com/xmake-io/xmake-repo/pull/303 + -- @see https://cmake.org/cmake/help/latest/policy/CMP0091.html#policy:CMP0091 + -- https://github.com/xmake-io/xmake-repo/pull/303 local vs_runtime = package:config("vs_runtime") if vs_runtime == "MT" then table.insert(configs, "-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded") |
