projects
/
platform
/
upstream
/
glog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce197f2
)
cmake: ensure consumers do not overwrite the required policy
author
Sergiu Deitsch
<sergiu.deitsch@gmail.com>
Tue, 2 Jan 2018 22:36:51 +0000
(23:36 +0100)
committer
Sergiu Deitsch
<sergiu.deitsch@gmail.com>
Tue, 2 Jan 2018 22:36:51 +0000
(23:36 +0100)
glog-config.cmake.in
patch
|
blob
|
history
diff --git
a/glog-config.cmake.in
b/glog-config.cmake.in
index e3c44ae45e9fd8e6e92611f20b58b738c2327e8f..bf06a62764c410a98172b1c4143e311f030c7c74 100644
(file)
--- a/
glog-config.cmake.in
+++ b/
glog-config.cmake.in
@@
-1,3
+1,6
@@
+cmake_policy (PUSH)
+cmake_policy (VERSION 3.0)
+
@PACKAGE_INIT@
include (CMakeFindDependencyMacro)
@@
-5,3
+8,5
@@
include (CMakeFindDependencyMacro)
@gflags_DEPENDENCY@
include ("${CMAKE_CURRENT_LIST_DIR}/glog-targets.cmake")
+
+cmake_policy (POP)