Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
191f9336
Commit
191f9336
authored
Nov 26, 2018
by
Gennadiy Civil
Browse files
Merge pull request #1977 from lukasm91:issue_1955_remove_pthread_flags
PiperOrigin-RevId: 222861732
parents
fca458ca
ce526b87
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
.travis.yml
.travis.yml
+3
-2
googletest/cmake/internal_utils.cmake
googletest/cmake/internal_utils.cmake
+0
-1
No files found.
.travis.yml
View file @
191f9336
...
...
@@ -15,22 +15,23 @@ matrix:
sudo
:
true
install
:
./ci/install-linux.sh && ./ci/log-config.sh
script
:
./ci/build-linux-bazel.sh
-
os
:
linux
compiler
:
clang
sudo
:
true
install
:
./ci/install-linux.sh && ./ci/log-config.sh
script
:
./ci/build-linux-bazel.sh
-
os
:
linux
group
:
deprecated-2017Q4
compiler
:
gcc
install
:
./ci/install-linux.sh && ./ci/log-config.sh
script
:
./ci/build-linux-autotools.sh
env
:
VERBOSE=1 CXXFLAGS=-std=c++11
-
os
:
linux
group
:
deprecated-2017Q4
compiler
:
gcc
env
:
BUILD_TYPE=Debug VERBOSE=1 CXX_FLAGS=-std=c++11
-
os
:
linux
group
:
deprecated-2017Q4
compiler
:
clang
env
:
BUILD_TYPE=Release VERBOSE=1 CXX_FLAGS=-std=c++11
-
os
:
linux
...
...
googletest/cmake/internal_utils.cmake
View file @
191f9336
...
...
@@ -56,7 +56,6 @@ macro(config_compiler_and_linker)
unset
(
GTEST_HAS_PTHREAD
)
if
(
NOT gtest_disable_pthreads AND NOT MINGW
)
# Defines CMAKE_USE_PTHREADS_INIT and CMAKE_THREAD_LIBS_INIT.
set
(
THREADS_PREFER_PTHREAD_FLAG ON
)
find_package
(
Threads
)
if
(
CMAKE_USE_PTHREADS_INIT
)
set
(
GTEST_HAS_PTHREAD ON
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment