include(${CMAKE_CURRENT_LIST_DIR}/gtest.cmake)

get_filename_component(GTEST_INCLUDE_DIR "${CMAKE_CURRENT_LIST_DIR}/../include" ABSOLUTE)
get_filename_component(GTEST_INCLUDE_DIRS ${GTEST_INCLUDE_DIR})
get_filename_component(GTEST_LIBRARIES_DIR "${CMAKE_CURRENT_LIST_DIR}/../lib" ABSOLUTE)
get_filename_component(GTEST_LIBRARIES_DIRS ${GTEST_LIBRARIES_DIR})

SET(GTEST_LIBRARY gtest)
SET(GTEST_MAIN_LIBRARY gtest_main)
SET(GTEST_LIBRARIES ${GTEST_LIBRARY})
SET(GTEST_MAIN_LIBRARIES ${GTEST_MAIN_LIBRARY})
SET(GTEST_BOTH_LIBRARY ${GTEST_LIBRARY} ${GTEST_MAIN_LIBRARY})
SET(GTEST_BOTH_LIBRARIES ${GTEST_BOTH_LIBRARY})

set(GTEST_FOUND TRUE)
