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
97d8c47d
Unverified
Commit
97d8c47d
authored
May 28, 2019
by
Matthijs Brobbel
Browse files
Suppress CMake policy warning (CMP0048)
As suggested in #2150.
parent
f5edb4f5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
CMakeLists.txt
CMakeLists.txt
+4
-4
No files found.
CMakeLists.txt
View file @
97d8c47d
...
...
@@ -3,6 +3,10 @@
cmake_minimum_required
(
VERSION 2.8.8
)
if
(
POLICY CMP0048
)
cmake_policy
(
SET CMP0048 NEW
)
endif
(
POLICY CMP0048
)
project
(
googletest-distribution
)
set
(
GOOGLETEST_VERSION 1.9.0
)
...
...
@@ -16,10 +20,6 @@ else()
endif
()
endif
()
if
(
POLICY CMP0048
)
cmake_policy
(
SET CMP0048 NEW
)
endif
(
POLICY CMP0048
)
enable_testing
()
include
(
CMakeDependentOption
)
...
...
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