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
8f88a507
Commit
8f88a507
authored
6 years ago
by
Feng Xiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve error message when googletest is missing.
parent
7bf47a6b
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 @
8f88a507
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
...
...
This diff is collapsed.
Click to expand it.
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