Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
benchmark
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
benchmark
Commits
7c571338
Commit
7c571338
authored
Feb 19, 2019
by
Wes McKinney
Committed by
Dominic Hamon
Feb 19, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prefer -pthread to -lpthread for better compatibility when cross-compiling (#771)
parent
b8ca0c42
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
CMakeLists.txt
CMakeLists.txt
+1
-0
No files found.
CMakeLists.txt
View file @
7c571338
...
@@ -251,6 +251,7 @@ if (NOT BENCHMARK_ENABLE_EXCEPTIONS AND HAVE_STD_REGEX
...
@@ -251,6 +251,7 @@ if (NOT BENCHMARK_ENABLE_EXCEPTIONS AND HAVE_STD_REGEX
endif
()
endif
()
cxx_feature_check
(
STEADY_CLOCK
)
cxx_feature_check
(
STEADY_CLOCK
)
# Ensure we have pthreads
# Ensure we have pthreads
set
(
THREADS_PREFER_PTHREAD_FLAG ON
)
find_package
(
Threads REQUIRED
)
find_package
(
Threads REQUIRED
)
# Set up directories
# Set up directories
...
...
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