From d2bd16b6a0c8c4b7687b4f148c6fafca5ee3154f Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Sun, 7 Dec 2014 12:10:24 +0100 Subject: [PATCH] fixing INCLUDE_DIR --- cmake/Modules/FindGLOG.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/Modules/FindGLOG.cmake b/cmake/Modules/FindGLOG.cmake index 98b9d394f..e0aa718d1 100644 --- a/cmake/Modules/FindGLOG.cmake +++ b/cmake/Modules/FindGLOG.cmake @@ -45,14 +45,14 @@ endif() endmacro() if(MSVC) - find_path(GLOG_INCLUDE_DIRS NAMES raw_logging.h + find_path(GLOG_INCLUDE_DIR NAMES raw_logging.h PATHS ${GLOG_ROOT}/src/windows ${GLOG_ROOT}/src/windows/glog ) else(MSVC) # Linux/OS X builds - find_path(GLOG_INCLUDE_DIRS NAMES raw_logging.h + find_path(GLOG_INCLUDE_DIR NAMES raw_logging.h PATHS ${GLOG_ROOT}/include/glog /opt/local/include/glog # default location in Macports