Fix library being named liblibtesseract on non win32 platforms

This commit is contained in:
Clayton Walker 2017-08-29 15:14:13 -06:00
parent 27d25e9c99
commit 52cac3a42e

View File

@ -227,6 +227,8 @@ set_target_properties (libtesseract PROPERTIES SOVERSION ${VERSION_MAJ
if (WIN32)
set_target_properties (libtesseract PROPERTIES OUTPUT_NAME tesseract${VERSION_MAJOR}${VERSION_MINOR})
set_target_properties (libtesseract PROPERTIES DEBUG_OUTPUT_NAME tesseract${VERSION_MAJOR}${VERSION_MINOR}d)
else()
set_target_properties (libtesseract PROPERTIES OUTPUT_NAME tesseract)
endif()
if (NOT CPPAN_BUILD)