Add "-pthread" flag for GoogleTest

This commit is contained in:
Ivan Kravets
2022-05-10 16:13:30 +03:00
parent ee6b498ca9
commit c09af13b7f
2 changed files with 2 additions and 2 deletions

2
docs

Submodule docs updated: 41042eb9fd...4522b6d963

View File

@ -100,7 +100,7 @@ class GoogletestTestRunner(TestRunnerBase):
def configure_build_env(self, env):
if self.platform.is_embedded():
return
env.Append(CXXFLAGS=["-std=c++11"])
env.Append(CXXFLAGS=["-std=c++11", "-pthread"])
def on_testing_line_output(self, line):
if self.options.verbose: