glog/glog-config.cmake.in
Sergiu Deitsch a92e1d95c5 cmake: use gflags package config instead of a find module
This allows to avoid conflicts between third party gflags find modules floating
around. If a package provide a local version of gflags find module, clients
which locate glog will incorrectly use it. Another problem is a CMake error message
"cmake_policy PUSH without matching POP" in nested find_package calls. In summary,
we need to ensure to use the original gflags package config.
2018-01-04 02:38:42 +01:00

13 lines
216 B
CMake

cmake_policy (PUSH)
cmake_policy (VERSION @glog_POLICY_VERSION@)
@PACKAGE_INIT@
include (CMakeFindDependencyMacro)
@gflags_DEPENDENCY@
include ("${CMAKE_CURRENT_LIST_DIR}/glog-targets.cmake")
cmake_policy (POP)