Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 2de740c4 authored by kraus's avatar kraus
Browse files

make opals FingGTest compatible with default one

parent d4943236
No related branches found
No related tags found
No related merge requests found
...@@ -30,9 +30,35 @@ set( GTEST_BOTH_LIBRARIES ...@@ -30,9 +30,35 @@ set( GTEST_BOTH_LIBRARIES
${GTEST_LIBRARY_MAIN} ${GTEST_LIBRARY_MAIN}
) )
IF(GTEST_INCLUDE_DIR AND GTEST_LIBRARY) # ``GTEST_INCLUDE_DIRS``
# the directory containing the Google Test headers
#
# The library variables below are set as normal variables. These
# contain debug/optimized keywords when a debugging library is found.
#
# ``GTEST_LIBRARIES``
# The Google Test ``gtest`` library; note it also requires linking
# with an appropriate thread library
# ``GTEST_MAIN_LIBRARIES``
# The Google Test ``gtest_main`` library
# ``GTEST_BOTH_LIBRARIES``
#
set (GTEST_INCLUDE_DIRS
${GTEST_INCLUDE_DIR}
)
set (GTEST_MAIN_LIBRARIES
${GTEST_LIBRARY_MAIN}
)
set (GTEST_LIBRARIES
${GTEST_LIBRARY}
)
IF(GTEST_INCLUDE_DIR AND GTEST_LIBRARY AND GTEST_LIBRARY_MAIN)
SET( GTEST_FOUND "YES" ) SET( GTEST_FOUND "YES" )
ENDIF(GTEST_INCLUDE_DIR AND GTEST_LIBRARY) ENDIF()
IF (GTEST_FOUND) IF (GTEST_FOUND)
IF (NOT GTEST_FIND_QUIETLY) IF (NOT GTEST_FIND_QUIETLY)
...@@ -43,5 +69,4 @@ ELSE (GTEST_FOUND) ...@@ -43,5 +69,4 @@ ELSE (GTEST_FOUND)
IF (GTest_FIND_REQUIRED) IF (GTest_FIND_REQUIRED)
MESSAGE(FATAL_ERROR "Could not find GTEST!") MESSAGE(FATAL_ERROR "Could not find GTEST!")
ENDIF (GTest_FIND_REQUIRED) ENDIF (GTest_FIND_REQUIRED)
ENDIF (GTEST_FOUND) ENDIF (GTEST_FOUND)
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment