From ccca60745169d203920a96e0351835032ddb2974 Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Sun, 29 Mar 2015 20:13:03 +0200 Subject: [PATCH] finding recently submitted libgtest-dev port in Mac OS X --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f8341a561..53d874c3e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -285,8 +285,8 @@ if(GTEST_DIR) endif(LIBGTEST_DEV_DIR) find_path(GTEST_INCLUDE_DIRS NAMES gtest/gtest.h PATHS ${GTEST_DIR}/include) else(GTEST_DIR) - find_path(LIBGTEST_DEV_DIR NAMES src/gtest-all.cc PATHS /usr/src/gtest /opt/local/src/gtest) - find_path(GTEST_INCLUDE_DIRS NAMES gtest/gtest.h PATHS /usr/include /opt/local/include) + find_path(LIBGTEST_DEV_DIR NAMES src/gtest-all.cc PATHS /usr/src/gtest /opt/local/src/gtest-1.7.0) + find_path(GTEST_INCLUDE_DIRS NAMES gtest/gtest.h PATHS /usr/include /opt/local/src/gtest-1.7.0/include) if(LIBGTEST_DEV_DIR) message (STATUS "Googletest (libgtest-dev package) has been found.") else(LIBGTEST_DEV_DIR)