summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/rules/winsdk/mfc/env/xmake.lua4
-rw-r--r--xmake/rules/winsdk/mfc/xmake.lua4
2 files changed, 4 insertions, 4 deletions
diff --git a/xmake/rules/winsdk/mfc/env/xmake.lua b/xmake/rules/winsdk/mfc/env/xmake.lua
index dbf28907d..38ce77925 100644
--- a/xmake/rules/winsdk/mfc/env/xmake.lua
+++ b/xmake/rules/winsdk/mfc/env/xmake.lua
@@ -22,8 +22,8 @@
-- @file xmake.lua
--
--- define rule: mfc
-rule("win.sdk.mfc")
+-- define rule: mfc.env
+rule("win.sdk.mfc.env")
-- FIXME: before load need check of vs's minverion, if defined
--before_load(function (target)
diff --git a/xmake/rules/winsdk/mfc/xmake.lua b/xmake/rules/winsdk/mfc/xmake.lua
index 02ce49798..d22752a94 100644
--- a/xmake/rules/winsdk/mfc/xmake.lua
+++ b/xmake/rules/winsdk/mfc/xmake.lua
@@ -26,7 +26,7 @@
rule("win.sdk.mfc.shared")
-- add mfc base rule
- add_deps("win.sdk.mfc")
+ add_deps("win.sdk.mfc.env")
-- after load
after_load(function (target)
@@ -39,7 +39,7 @@ rule("win.sdk.mfc.shared")
rule("win.sdk.mfc.static")
-- add mfc base rule
- add_deps("win.sdk.mfc")
+ add_deps("win.sdk.mfc.env")
-- after load
after_load(function (target)