提交 95223cfa 编写于 作者: S Stefan Weil

cmake: Link tiff library only for Windows

Signed-off-by: NStefan Weil <sw@weilnetz.de>
上级 22151749
......@@ -696,7 +696,7 @@ endif()
add_executable (tesseract src/api/tesseractmain.cpp)
target_link_libraries (tesseract libtesseract)
if (HAVE_TIFFIO_H)
if (WIN32 AND HAVE_TIFFIO_H)
target_link_libraries(tesseract tiff)
endif()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册