2
# Check for google test and build it locally
5
"/usr/src/gtest" # Default value, adjustable by user with e.g., ccmake
8
"Path to Google test srcs"
16
"Path to Google tests include"
19
find_path(GTEST_INCLUDE_DIR gtest/gtest.h)
20
if (GTEST_INCLUDE_DIR)
22
#FIXME - hardcoded is bad!
27
endif(GTEST_INCLUDE_DIR)
29
set(GTEST_INCLUDE_DIRS ${GTEST_INCLUDE_DIR})
30
set(GTEST_LIBRARIES gtest)
31
set(GTEST_MAIN_LIBRARIES gtest_main)
32
set(GTEST_BOTH_LIBRARIES ${GTEST_LIBRARIES} ${GTEST_MAIN_LIBRARIES})