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
e1c3a83b
Unverified
Commit
e1c3a83b
authored
Jan 05, 2018
by
Eric
Committed by
GitHub
Jan 05, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #509 from efcs/fix-gtest-install
Prevent GTest and GMock from being installed with Google Benchmark.
parents
052421c8
778b85a7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
HandleGTest.cmake
cmake/HandleGTest.cmake
+2
-0
No files found.
cmake/HandleGTest.cmake
View file @
e1c3a83b
...
...
@@ -67,6 +67,8 @@ endmacro(build_external_gtest)
if
(
BENCHMARK_ENABLE_GTEST_TESTS
)
if
(
IS_DIRECTORY
${
CMAKE_SOURCE_DIR
}
/googletest
)
set
(
INSTALL_GTEST OFF CACHE INTERNAL
""
)
set
(
INSTALL_GMOCK OFF CACHE INTERNAL
""
)
add_subdirectory
(
${
CMAKE_SOURCE_DIR
}
/googletest
)
set
(
GTEST_BOTH_LIBRARIES gtest gtest_main
)
elseif
(
BENCHMARK_DOWNLOAD_DEPENDENCIES
)
...
...
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