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
gaoqiong
yaml-cpp
Commits
ef0bba17
Unverified
Commit
ef0bba17
authored
Jul 15, 2021
by
jbeach
Committed by
GitHub
Jul 15, 2021
Browse files
Bump minimum cmake versions in gtest to eliminate cmake deprecation warnings. (#1012)
parent
b591d8ae
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
test/gtest-1.10.0/CMakeLists.txt
test/gtest-1.10.0/CMakeLists.txt
+1
-1
test/gtest-1.10.0/googlemock/CMakeLists.txt
test/gtest-1.10.0/googlemock/CMakeLists.txt
+1
-1
test/gtest-1.10.0/googletest/CMakeLists.txt
test/gtest-1.10.0/googletest/CMakeLists.txt
+1
-1
No files found.
test/gtest-1.10.0/CMakeLists.txt
View file @
ef0bba17
# Note: CMake support is community-based. The maintainers do not use CMake
# Note: CMake support is community-based. The maintainers do not use CMake
# internally.
# internally.
cmake_minimum_required
(
VERSION 2.
8.8
)
cmake_minimum_required
(
VERSION 2.
9
)
if
(
POLICY CMP0048
)
if
(
POLICY CMP0048
)
cmake_policy
(
SET CMP0048 NEW
)
cmake_policy
(
SET CMP0048 NEW
)
...
...
test/gtest-1.10.0/googlemock/CMakeLists.txt
View file @
ef0bba17
...
@@ -42,7 +42,7 @@ else()
...
@@ -42,7 +42,7 @@ else()
cmake_policy
(
SET CMP0048 NEW
)
cmake_policy
(
SET CMP0048 NEW
)
project
(
gmock VERSION
${
GOOGLETEST_VERSION
}
LANGUAGES CXX C
)
project
(
gmock VERSION
${
GOOGLETEST_VERSION
}
LANGUAGES CXX C
)
endif
()
endif
()
cmake_minimum_required
(
VERSION 2.
6.4
)
cmake_minimum_required
(
VERSION 2.
9
)
if
(
COMMAND set_up_hermetic_build
)
if
(
COMMAND set_up_hermetic_build
)
set_up_hermetic_build
()
set_up_hermetic_build
()
...
...
test/gtest-1.10.0/googletest/CMakeLists.txt
View file @
ef0bba17
...
@@ -53,7 +53,7 @@ else()
...
@@ -53,7 +53,7 @@ else()
cmake_policy
(
SET CMP0048 NEW
)
cmake_policy
(
SET CMP0048 NEW
)
project
(
gtest VERSION
${
GOOGLETEST_VERSION
}
LANGUAGES CXX C
)
project
(
gtest VERSION
${
GOOGLETEST_VERSION
}
LANGUAGES CXX C
)
endif
()
endif
()
cmake_minimum_required
(
VERSION 2.
6.4
)
cmake_minimum_required
(
VERSION 2.
9
)
if
(
POLICY CMP0063
)
# Visibility
if
(
POLICY CMP0063
)
# Visibility
cmake_policy
(
SET CMP0063 NEW
)
cmake_policy
(
SET CMP0063 NEW
)
...
...
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