Skip to content

Commit

Permalink
cmake: Add googletest
Browse files Browse the repository at this point in the history
The submodule is build automatically as soon as it exists.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
  • Loading branch information
stweil committed Jul 24, 2017
1 parent f36dc34 commit 796cd7a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Expand Up @@ -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()
Expand Down

0 comments on commit 796cd7a

Please sign in to comment.