Fixing glog detection

This commit is contained in:
Carles Fernandez 2014-12-07 12:05:38 +01:00
parent 8130121979
commit 46eaf14e5e
1 changed files with 3 additions and 3 deletions

View File

@ -471,9 +471,9 @@ endif(NOT GFlags_FOUND)
################################################################################
if(NOT ${ENABLE_OWN_GLOG})
find_package(GLOG)
if(NOT GLOG_INCLUDE_DIRS)
set(GLOG_FOUND)
endif(NOT GLOG_INCLUDE_DIRS)
if(GLOG_INCLUDE_DIRS)
set(GLOG_FOUND ON)
endif(GLOG_INCLUDE_DIRS)
endif(NOT ${ENABLE_OWN_GLOG})
set(glog_RELEASE 0.3.3)
if (NOT GLOG_FOUND OR ${LOCAL_GFLAGS})