From 4b7ceba96b5ad5f843d81e8869ad4cf204449386 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20M=C3=B6bius?= Date: Mon, 23 Jul 2012 07:12:09 +0000 Subject: [PATCH] Added another ACG path to search for gtest git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@624 fdac6126-5c0c-442c-9429-916003d36597 --- cmake/FindGoogleTest.cmake | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/cmake/FindGoogleTest.cmake b/cmake/FindGoogleTest.cmake index 6ae4bdff..430aa656 100644 --- a/cmake/FindGoogleTest.cmake +++ b/cmake/FindGoogleTest.cmake @@ -42,22 +42,31 @@ else(GTEST_INCLUDE_DIRS AND GTEST_LIBRARIES AND GTEST_MAIN_LIBRARIES) else(GTEST_PREFIX) find_path(_GTEST_INCLUDE_DIR "gtest/gtest.h" PATHS + /ACG/acgdev/gcc-4.7-x86_64/gtest/include ~/sw/gtest/include /opt/local/include /usr/local/include - "C:/libs/win32/gtest/include") + /usr/include + "C:/libs/win32/gtest/include" + NO_DEFAULT_PATH ) find_library(_GTEST_LIBRARY gtest PATHS + /ACG/acgdev/gcc-4.7-x86_64/gtest/lib ~/sw/gtest/lib /opt/local/lib /usr/local/lib - "C:/libs/win32/gtest/lib") + /usr/include + "C:/libs/win32/gtest/lib" + NO_DEFAULT_PATH ) find_library(_GTEST_MAIN_LIBRARY gtest_main PATHS + /ACG/acgdev/gcc-4.7-x86_64/gtest/lib ~/sw/gtest/lib /opt/local/lib /usr/local/lib - "C:/libs/win32/gtest/lib") + /usr/include + "C:/libs/win32/gtest/lib" + NO_DEFAULT_PATH ) if ( _GTEST_LIBRARY ) get_filename_component(_GTEST_LIBRARY_DIR ${_GTEST_LIBRARY} PATH CACHE )