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
a13627bc
Commit
a13627bc
authored
Oct 11, 2014
by
Dominic Hamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move pthread dependency to test CMakeLists.txt
parent
cfb34b59
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
CMakeLists.txt
CMakeLists.txt
+0
-3
CMakeLists.txt
test/CMakeLists.txt
+2
-0
No files found.
CMakeLists.txt
View file @
a13627bc
...
@@ -4,9 +4,6 @@ project (benchmark)
...
@@ -4,9 +4,6 @@ project (benchmark)
# Make sure we can import out CMake functions
# Make sure we can import out CMake functions
list
(
APPEND CMAKE_MODULE_PATH
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake"
)
list
(
APPEND CMAKE_MODULE_PATH
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/cmake"
)
# Resolve dependent packages
find_package
(
Threads REQUIRED
)
# Import and build Google Test
# Import and build Google Test
include
(
ExternalProject
)
include
(
ExternalProject
)
set_directory_properties
(
properties EP_PREFIX
"
${
CMAKE_BINARY_DIR
}
/third_party"
)
set_directory_properties
(
properties EP_PREFIX
"
${
CMAKE_BINARY_DIR
}
/third_party"
)
...
...
test/CMakeLists.txt
View file @
a13627bc
find_package
(
Threads REQUIRED
)
# Demonstration executable
# Demonstration executable
add_executable
(
benchmark_test benchmark_test.cc
)
add_executable
(
benchmark_test benchmark_test.cc
)
target_link_libraries
(
benchmark_test benchmark
${
CMAKE_THREAD_LIBS_INIT
}
)
target_link_libraries
(
benchmark_test benchmark
${
CMAKE_THREAD_LIBS_INIT
}
)
...
...
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