commit | 2a5599f37888d37c588badbf9f5e08d097fcf830 | [log] [tgz] |
---|---|---|
author | Greg Coombe <coombe@matterport.com> | Wed Jun 04 15:46:39 2014 -0700 |
committer | Greg Coombe <coombe@matterport.com> | Wed Jun 04 23:21:33 2014 +0000 |
tree | 9d3a47a1d70951bc0fb127d5f7649ab96aecb266 | |
parent | add50e3697395a70e4d7e5a1a2748f3fc5d8718d [diff] |
Fix Cmake error when using miniglog. Create the glog include directories and library directories only if we've already checked that the user is using glog (and not miniglog). Otherwise, @GLOG_INCLUDE_DIR@ and @GLOG_LIBRARY@ will be empty and the generated files will cause Cmake errors. Change-Id: Ia0ce9cf98f7d56c83b2285f72f45b8e0d5dc34c4