Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
yangql
googletest
Commits
8043818e
Unverified
Commit
8043818e
authored
Apr 20, 2021
by
Vollstrecker
Committed by
GitHub
Apr 20, 2021
Browse files
Use URL instead of git-repo
parent
c79eb87c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
googletest/README.md
googletest/README.md
+2
-1
No files found.
googletest/README.md
View file @
8043818e
...
@@ -94,7 +94,8 @@ Just add to your `CMakeLists.txt`:
...
@@ -94,7 +94,8 @@ Just add to your `CMakeLists.txt`:
include
(
FetchContent
)
include
(
FetchContent
)
FetchContent_Declare
(
FetchContent_Declare
(
googletest
googletest
GIT_REPOSITORY https://github.com/google/googletest.git
# Specify the commit you depend on and update it regularly.
URL https://github.com/google/googletest/archive/609281088cfefc76f9d0ce82e1ff6c30cc3591e5.zip
)
)
# For Windows: Prevent overriding the parent project's compiler/linker settings
# For Windows: Prevent overriding the parent project's compiler/linker settings
set
(
gtest_force_shared_crt ON CACHE BOOL
""
FORCE
)
set
(
gtest_force_shared_crt ON CACHE BOOL
""
FORCE
)
...
...
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