Commit b18090bd authored by Jan Möbius's avatar Jan Möbius

Modified global google test finder to not search in the default path

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@14846 383ad7c9-94d9-4d36-a494-682f7c89f535
parent f6ff8e18
......@@ -46,21 +46,27 @@ else(GTEST_INCLUDE_DIRS AND GTEST_LIBRARIES AND GTEST_MAIN_LIBRARIES)
~/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 )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment