Skip to content

Commit 796cd7a

Browse files
committed
cmake: Add googletest
The submodule is build automatically as soon as it exists. Signed-off-by: Stefan Weil <[email protected]>
1 parent f36dc34 commit 796cd7a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,10 @@ target_link_libraries (tesseract libtesseract)
252252

253253
########################################
254254

255+
if (EXISTS ${PROJECT_SOURCE_DIR}/googletest/CMakeLists.txt)
256+
add_subdirectory(googletest)
257+
endif()
258+
255259
if (BUILD_TRAINING_TOOLS)
256260
add_subdirectory(training)
257261
endif()

0 commit comments

Comments
 (0)