Closed rijobro closed 2 years ago
As temporary workaround, I put the following lines at the top of src/CMakeLists.txt
:
include_directories("/Users/rich/Documents/Code/glog/Install/include")
set(glog "/Users/rich/Documents/Code/glog/Install/lib/libglog.a")
outdated as using glog::glog
(but see #55 )
When building, I get the error:
I have set the
glog_DIR
variable, and with a bit of debugging in theFindglog.cmake
, I can see thatif (glog_FOUND)
at line 182 isTrue
. This means that the following code is executed:At line 322, there is
set(GLOG_LIBRARIES ${GLOG_LIBRARY})
.So,
GLOG_INCLUDE_DIRS
is blank andGLOG_LIBRARY/GLOG_LIBRARIES
contain the useful stuff. However, neither of these variables are used outside of theFindglog.cmake
.