On June 19, 2015 02:31:33 PM you wrote:

> Current libgtest-dev has two different means to determine if
> GTEST_HAS_PTHREAD is defined: one in CMake rules [1] and second one in
> the header [2]. When they don't match [3], 

I have never used the CMake files, but in /usr/src/gtest/CMakeLists.txt, I see:

        config_compiler_and_linker()  # Defined in internal_utils.cmake.

and as far as I can see, that macro unconditionally defines GTEST_HAS_PTHREAD 
in cxx_base_flags.   As long as the build uses these flags, it will override the
logic in the header. 

So I don't see the issue.  Can you elaborate further?


> If you prefer, I can try to produce a patch.

Yes, patch is always nice.

Thanks,
-Steve

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to