cmake: ensure consumers do not overwrite the required policy

This commit is contained in:
Sergiu Deitsch 2018-01-02 23:36:51 +01:00
parent ce197f26a5
commit b2c3afecaa

View File

@ -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)