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
dcb1a3da
Commit
dcb1a3da
authored
Apr 02, 2015
by
Geoff Romer
Committed by
Dominic Hamon
Apr 03, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop down to CMake 2.8.11, and drop INTERFACE since that version doesn't
support it.
parent
3078ce9b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
CMakeLists.txt
CMakeLists.txt
+1
-1
CMakeLists.txt
src/CMakeLists.txt
+1
-1
No files found.
CMakeLists.txt
View file @
dcb1a3da
cmake_minimum_required
(
VERSION 2.8.1
2
)
cmake_minimum_required
(
VERSION 2.8.1
1
)
project
(
benchmark
)
project
(
benchmark
)
option
(
BENCHMARK_ENABLE_TESTING
"Enable testing of the benchmark library."
ON
)
option
(
BENCHMARK_ENABLE_TESTING
"Enable testing of the benchmark library."
ON
)
...
...
src/CMakeLists.txt
View file @
dcb1a3da
...
@@ -20,7 +20,7 @@ endif()
...
@@ -20,7 +20,7 @@ endif()
add_library
(
benchmark
${
SOURCE_FILES
}
${
RE_FILES
}
)
add_library
(
benchmark
${
SOURCE_FILES
}
${
RE_FILES
}
)
find_package
(
Threads REQUIRED
)
find_package
(
Threads REQUIRED
)
target_link_libraries
(
benchmark
INTERFACE
${
CMAKE_THREAD_LIBS_INIT
}
)
target_link_libraries
(
benchmark
${
CMAKE_THREAD_LIBS_INIT
}
)
set_target_properties
(
benchmark PROPERTIES
set_target_properties
(
benchmark PROPERTIES
OUTPUT_NAME
"benchmark"
OUTPUT_NAME
"benchmark"
...
...
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