Skip to content

Commit 75c2a7d

Browse files
committed
Fix x32 VS generator
1 parent bc57b03 commit 75c2a7d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

compiler/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,12 +127,12 @@ model {
127127
if (rootProject.hasProperty('vcProtobufInclude')) {
128128
cppCompiler.args "/I${rootProject.vcProtobufInclude}"
129129
}
130+
linker.args.add("libprotoc.lib")
131+
linker.args.add("libprotobuf.lib")
130132
if (rootProject.hasProperty('vcProtobufLibs')) {
131133
String libsList = rootProject.property('vcProtobufLibs') as String
132-
linker.args.add("libprotoc.lib")
133-
linker.args.add("libprotobuf.lib")
134134
libsList.split(',').each() { lib -> linker.args.add(lib) }
135-
}
135+
}
136136
if (rootProject.hasProperty('vcProtobufLibPaths')) {
137137
linker.args "/LIBPATH:${rootProject.vcProtobufLibPaths}"
138138
}

0 commit comments

Comments
 (0)