Commit Graph

5 Commits

Author SHA1 Message Date
Sergiu Deitsch
1aec14edf4 cmake: do not introduce a policy stack in the package config 2018-02-23 10:16:24 +01:00
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
Sergiu Deitsch
b2c3afecaa cmake: ensure consumers do not overwrite the required policy 2018-01-02 23:36:51 +01:00
Sergiu Dotenco
780efcc857 cmake: allow to refer to imported glog target as glog::glog 2016-01-08 14:55:58 +01:00
Sergiu Dotenco
3c49b93201 added cmake support 2015-07-15 22:34:44 +02:00