diff options
| author | Redbeanw44602 <[email protected]> | 2025-01-03 00:17:39 +0800 |
|---|---|---|
| committer | Redbeanw44602 <[email protected]> | 2025-01-03 00:17:39 +0800 |
| commit | 093d610516ba2c5e07fc549db5b0dbd9a321f9a0 (patch) | |
| tree | ea7e921c63c322745b3d017576fcffb812e0bde5 | |
| parent | a52f87bc96872a6bc1007908a71805fd10ea7d85 (diff) | |
add comments for #6032.
| -rw-r--r-- | xmake/modules/package/tools/cmake.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/modules/package/tools/cmake.lua b/xmake/modules/package/tools/cmake.lua index dd5a6fd24..501b52502 100644 --- a/xmake/modules/package/tools/cmake.lua +++ b/xmake/modules/package/tools/cmake.lua @@ -822,6 +822,8 @@ function _get_default_flags(package, configs, buildtype, opt) local tmpdir = path.join(os.tmpfile() .. ".dir", package:displayname(), package:mode()) local dummy_cmakelist = path.join(tmpdir, "CMakeLists.txt") + -- About the minimum cmake version requirement + -- @see https://github.com/xmake-io/xmake/pull/6032 io.writefile(dummy_cmakelist, format([[ cmake_minimum_required(VERSION 3.15) project(XMakeDummyProject) |
