From: Sergiu Deitsch Date: Tue, 2 Jan 2018 22:36:51 +0000 (+0100) Subject: cmake: ensure consumers do not overwrite the required policy X-Git-Tag: submit/tizen/20180313.064233~14 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b2c3afecaacfb70611cff6600d7db145689b1637;p=platform%2Fupstream%2Fglog.git cmake: ensure consumers do not overwrite the required policy --- 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)