[DEBUG] correct build on Windows

This commit is contained in:
Edouard DUPIN 2016-09-28 14:57:16 +02:00
parent 1e36611da3
commit d07aeee257

View File

@ -75,11 +75,15 @@ def create(target, module_name):
my_module.add_depend([
'cxx',
'm',
'pthread',
'arpa',
'rpc'
'pthread'
])
if "Windows" not in target.get_type():
my_module.add_depend([
'arpa',
'rpc'
])
my_module.add_path(os.path.join(tools.get_current_path(__file__), "googletest/googletest"))
my_module.add_path(os.path.join(tools.get_current_path(__file__), "googletest/googletest/include"))
return my_module