summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/Findgtest.cmake38
1 files changed, 0 insertions, 38 deletions
diff --git a/cmake/modules/Findgtest.cmake b/cmake/modules/Findgtest.cmake
deleted file mode 100644
index 8ea850f..0000000
--- a/cmake/modules/Findgtest.cmake
+++ /dev/null
@@ -1,38 +0,0 @@
-SET(MODULE_NAME gtest)
-
-SET(${MODULE_NAME}_FOUND FALSE)
-
-FIND_PATH(${MODULE_NAME}_INCLUDE_DIRS
- NAMES gtest/gtest.h
- PATHS /usr/include /usr/local/include
-)
-
-FIND_LIBRARY(LIB_GTEST
- NAMES gtest
- PATHS /usr/lib
- /usr/lib64
- /usr/local/lib
- /usr/local/lib64
-)
-
-FIND_LIBRARY(LIB_GTEST_MAIN
- NAMES gtest_main
- PATHS /usr/lib
- /usr/lib64
- /usr/local/lib
- /usr/local/lib64
-)
-
-IF(LIB_GTEST AND LIB_GTEST_MAIN)
- SET(${MODULE_NAME}_FOUND TRUE)
- SET(${MODULE_NAME}_LIBRARIES ${LIB_GTEST} ${LIB_GTEST_MAIN})
-ENDIF()
-
-MARK_AS_ADVANCED(
- ${MODULE_NAME}_FOUND
- ${MODULE_NAME}_INCLUDE_DIRS
- ${MODULE_NAME}_LIBRARIES
-)
-
-MESSAGE(STATUS "${MODULE_NAME}_INCLUDE_DIRS: ${${MODULE_NAME}_INCLUDE_DIRS}")
-MESSAGE(STATUS "${MODULE_NAME}_LIBRARIES: ${${MODULE_NAME}_LIBRARIES}")