diff options
author | Sergiu Deitsch <sergiu.deitsch@gmail.com> | 2018-01-02 23:36:51 +0100 |
---|---|---|
committer | Sergiu Deitsch <sergiu.deitsch@gmail.com> | 2018-01-02 23:36:51 +0100 |
commit | b2c3afecaacfb70611cff6600d7db145689b1637 (patch) | |
tree | 0e71950af1524d7d9385378aa5f06aeb3a968b98 | |
parent | ce197f26a53633f2c2278c0b2cf494f1c977cad0 (diff) | |
download | glog-b2c3afecaacfb70611cff6600d7db145689b1637.tar.gz glog-b2c3afecaacfb70611cff6600d7db145689b1637.tar.bz2 glog-b2c3afecaacfb70611cff6600d7db145689b1637.zip |
cmake: ensure consumers do not overwrite the required policy
-rw-r--r-- | glog-config.cmake.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/glog-config.cmake.in b/glog-config.cmake.in index e3c44ae..bf06a62 100644 --- 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) |