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

Fixed broken google test finder

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@13908 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 6b486c10
......@@ -35,6 +35,10 @@ else(GTEST_INCLUDE_DIRS AND GTEST_LIBRARIES AND GTEST_MAIN_LIBRARIES)
find_library(_GTEST_MAIN_LIBRARY gtest_main
PATHS "${GTEST_PREFIX}/lib"
NO_DEFAULT_PATH)
if ( _GTEST_LIBRARY )
get_filename_component(_GTEST_LIBRARY_DIR ${_GTEST_LIBRARY} PATH CACHE )
endif()
else(GTEST_PREFIX)
find_path(_GTEST_INCLUDE_DIR "gtest/gtest.h"
PATHS
......
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