Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libfortran-support
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
icon-libraries
libfortran-support
Commits
9cbd0162
Commit
9cbd0162
authored
1 year ago
by
Jonas Jucker
Browse files
Options
Downloads
Patches
Plain Diff
fetch googletest from url
parent
308ec25f
No related branches found
No related tags found
1 merge request
!11
Cmake-infrastructure for tests and CI-setup for Levante
Pipeline
#39386
passed
1 year ago
Stage: build_and_test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/CMakeLists.txt
+3
-4
3 additions, 4 deletions
test/CMakeLists.txt
with
3 additions
and
4 deletions
test/CMakeLists.txt
+
3
−
4
View file @
9cbd0162
...
@@ -7,10 +7,9 @@ if(NOT GTest_FOUND)
...
@@ -7,10 +7,9 @@ if(NOT GTest_FOUND)
cmake_policy
(
SET CMP0135 NEW
)
cmake_policy
(
SET CMP0135 NEW
)
endif
()
endif
()
message
(
CHECK_START
"Fetching external GTest"
)
message
(
CHECK_START
"Fetching external GTest"
)
FetchContent_Declare
(
FetchContent_Declare
(
googletest
googletest
URL https://github.com/google/googletest/archive/refs/tags/v1.13.0.tar.gz
GIT_REPOSITORY https://github.com/google/googletest.git
URL_HASH MD5=95b29f0038ec84a611df951d74d99897
GIT_TAG v1.13.0
)
)
set
(
INSTALL_GTEST OFF CACHE BOOL
"Do not install GTest"
)
set
(
INSTALL_GTEST OFF CACHE BOOL
"Do not install GTest"
)
FetchContent_MakeAvailable
(
googletest
)
FetchContent_MakeAvailable
(
googletest
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment