cmake: ensure consumers do not overwrite the required policy
This commit is contained in:
parent
ce197f26a5
commit
b2c3afecaa
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user