Skip to content

Commit 8aa6507

Browse files
committed
cmake: unmark tesseract&lept as required
1 parent b370c33 commit 8aa6507

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SerialPrograms/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -439,8 +439,8 @@ else() # macOS and Linux
439439

440440
#we hope to use our own Tesseract build in future so we can rid that dependency
441441
#but right now to run on Linux and Mac we need to use external Tesseract library
442-
pkg_search_module(TESSERACT REQUIRED tesseract)
443-
pkg_search_module(LEPTONICA REQUIRED lept)
442+
pkg_search_module(TESSERACT tesseract)
443+
pkg_search_module(LEPTONICA lept)
444444
if (TESSERACT_FOUND AND LEPTONICA_FOUND)
445445
target_compile_definitions(SerialProgramsLib PRIVATE PA_TESSERACT UNIX_LINK_TESSERACT)
446446
target_include_directories(SerialProgramsLib SYSTEM PRIVATE ${TESSERACT_INCLUDE_DIRS})

0 commit comments

Comments
 (0)