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
ce526b87
Commit
ce526b87
authored
Nov 22, 2018
by
Lukas Mosimann
Browse files
Issue #1955: Remove THREADS_PREFER_PTHREAD_FLAG
parent
3cf8f514
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
googletest/cmake/internal_utils.cmake
googletest/cmake/internal_utils.cmake
+0
-1
No files found.
googletest/cmake/internal_utils.cmake
View file @
ce526b87
...
...
@@ -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