summaryrefslogtreecommitdiff
path: root/xmake/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/plugins')
-rw-r--r--xmake/plugins/project/cmake/cmakelists.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/project/cmake/cmakelists.lua b/xmake/plugins/project/cmake/cmakelists.lua
index d0d682866..d4b29dbc8 100644
--- a/xmake/plugins/project/cmake/cmakelists.lua
+++ b/xmake/plugins/project/cmake/cmakelists.lua
@@ -454,7 +454,7 @@ end
function _print_target_sources(cmakelists, target, files, visibility, opt)
opt = opt or {}
- local has_fileset_support = _get_cmake_version():ge("2.23")
+ local has_fileset_support = _get_cmake_version():ge("3.23")
local fileset = ""
if has_fileset_support and opt.set then
fileset = "FILE_SET " .. opt.set .. " FILES"