diff options
| author | ruki <[email protected]> | 2025-07-14 08:37:34 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-14 08:37:34 +0800 |
| commit | 6c19713835849ac96f7eb8a2c67b19d0381749ed (patch) | |
| tree | cfff737a3bb60fe0f844d77f337a44967a0b372d | |
| parent | d8532e79bd07c3f1fdf9c6ae39bf50ab057d5b21 (diff) | |
| parent | 48117169d6fa7c63815c6c1bd102c73fb3c81e59 (diff) | |
Merge pull request #6623 from npc1054657282/patch-1
fix: the cmake module cannot get the option `cxxflags` correctly
| -rw-r--r-- | xmake/modules/package/tools/cmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/package/tools/cmake.lua b/xmake/modules/package/tools/cmake.lua index 74c1b80f8..c27ab99bb 100644 --- a/xmake/modules/package/tools/cmake.lua +++ b/xmake/modules/package/tools/cmake.lua @@ -227,7 +227,7 @@ function _get_cxxflags(package, opt) table.join2(result, package:config("cxxflags")) table.join2(result, package:config("cxflags")) if opt.cxxflags then - table.join2(result, opt.cflags) + table.join2(result, opt.cxxflags) end if opt.cxflags then table.join2(result, opt.cxflags) |
