Skip to content

Commit c12a732

Browse files
committed
fix(commands): Version
1 parent c33d989 commit c12a732

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

AMBuilder

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,11 @@ for sdk_target in MMSPlugin.sdk_targets:
305305
"/IGNORE:4101,4267,4244,4005,4003,4530",
306306
]
307307

308+
if os.getenv("SWIFTLY_VERSION") != None:
309+
binary.compiler.defines += [
310+
"SWIFTLY_VERSION=\"" + os.getenv("SWIFTLY_VERSION") + "\""
311+
]
312+
308313
binary.compiler.cxxincludes += [
309314
os.path.join(builder.sourcePath, 'vendor'),
310315
os.path.join(builder.sourcePath, 'vendor', 'lua-rapidjson', 'rapidjson', 'include'),

0 commit comments

Comments
 (0)