Minor gtest detector fix.
This commit is contained in:
parent
8d9b3063d3
commit
3a282890bc
|
@ -306,7 +306,8 @@ class GTestDependency(Dependency):
|
|||
else:
|
||||
mlog.log('Dependency GTest found:', mlog.red('NO'))
|
||||
self.is_found = False
|
||||
self.link_flags.append('-lpthread')
|
||||
if self.is_found:
|
||||
self.link_flags.append('-lpthread')
|
||||
return self.is_found
|
||||
|
||||
def get_compile_flags(self):
|
||||
|
|
Loading…
Reference in New Issue