find_path(GTEST_INCLUDE_DIR gtest.h /usr/include/gtest)
find_library(GTEST_LIBRARY NAMES gtest PATH /usr/lib)
if(GTEST_INCLUDE_DIR AND GTEST_LIBRARY)
set(GTEST_FOUND TRUE)
endif(GTEST_INCLUDE_DIR AND GTEST_LIBRARY)
if(GTEST_FOUND)
if(NOT GTEST_FIND_QUIETLY)
message(STATUS "Found GTEST:" ${GTEST_LIBRARY})
endif(NOT GTEST_FIND_QUIETLY)
endif(GTEST_FOUND)
