cmake: Add googletest

The submodule is build automatically as soon as it exists.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2017-07-24 17:59:12 +02:00
parent f36dc34c4f
commit 796cd7ab56

View File

@ -252,6 +252,10 @@ target_link_libraries (tesseract libtesseract)
########################################
if (EXISTS ${PROJECT_SOURCE_DIR}/googletest/CMakeLists.txt)
add_subdirectory(googletest)
endif()
if (BUILD_TRAINING_TOOLS)
add_subdirectory(training)
endif()