Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
P
protobuf
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
protobuf
Commits
40d6eca8
Unverified
Commit
40d6eca8
authored
Apr 02, 2018
by
Feng Xiao
Committed by
GitHub
Apr 02, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4467 from xfxyjwf/error
Improve error message when googletest is missing.
parents
7f927110
8f88a507
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
tests.cmake
cmake/tests.cmake
+6
-1
No files found.
cmake/tests.cmake
View file @
40d6eca8
if
(
NOT EXISTS
"
${
PROJECT_SOURCE_DIR
}
/../third_party/googletest/CMakeLists.txt"
)
message
(
FATAL_ERROR
"Cannot find third_party/googletest directory."
)
message
(
FATAL_ERROR
"Cannot find third_party/googletest directory that's needed to "
"build tests. If you use git, make sure you have cloned submodules:
\n
"
" git submodule update --init --recursive
\n
"
"If instead you want to skip tests, run cmake with:
\n
"
" cmake -Dprotobuf_BUILD_TESTS=OFF
\n
"
)
endif
()
option
(
protobuf_ABSOLUTE_TEST_PLUGIN_PATH
...
...
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