Skip to content

Commit 52cac3a

Browse files
author
Clayton Walker
committed
Fix library being named liblibtesseract on non win32 platforms
1 parent 27d25e9 commit 52cac3a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,8 @@ set_target_properties (libtesseract PROPERTIES SOVERSION ${VERSION_MAJ
227227
if (WIN32)
228228
set_target_properties (libtesseract PROPERTIES OUTPUT_NAME tesseract${VERSION_MAJOR}${VERSION_MINOR})
229229
set_target_properties (libtesseract PROPERTIES DEBUG_OUTPUT_NAME tesseract${VERSION_MAJOR}${VERSION_MINOR}d)
230+
else()
231+
set_target_properties (libtesseract PROPERTIES OUTPUT_NAME tesseract)
230232
endif()
231233

232234
if (NOT CPPAN_BUILD)

0 commit comments

Comments
 (0)