aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/vsprojects/vcxproj_defs.include
diff options
context:
space:
mode:
Diffstat (limited to 'templates/vsprojects/vcxproj_defs.include')
-rw-r--r--templates/vsprojects/vcxproj_defs.include5
1 files changed, 4 insertions, 1 deletions
diff --git a/templates/vsprojects/vcxproj_defs.include b/templates/vsprojects/vcxproj_defs.include
index 87412debda..55ec37393f 100644
--- a/templates/vsprojects/vcxproj_defs.include
+++ b/templates/vsprojects/vcxproj_defs.include
@@ -19,7 +19,10 @@
if not project_guid:
project_guid = project.vs_project_guid
if configuration_type == 'Application':
- props.extend(['winsock', 'protobuf', 'zlib', 'openssl'])
+ if target.build == 'protoc':
+ props.extend(['protoc'])
+ else:
+ props.extend(['winsock', 'protobuf', 'zlib', 'openssl'])
if target.language == 'c++':
props.extend(['protobuf'])
props.extend(['global'])