Update CMakeLists.txt

This commit is contained in:
Egor Pugin 2016-09-05 18:10:56 +03:00 committed by GitHub
parent 01c364d287
commit 193032a778

View File

@ -213,7 +213,7 @@ set_target_properties (tesseract PROPERTIES OUTPUT_NAME tesseract${VER
set_target_properties (tesseract PROPERTIES DEBUG_OUTPUT_NAME tesseract${VERSION_MAJOR}${VERSION_MINOR}d)
endif()
if (NOT USES_CPPAN)
if (NOT CPPAN_BUILD)
target_link_libraries (tesseract ${Leptonica_LIBRARIES})
export(TARGETS tesseract FILE ${CMAKE_BINARY_DIR}/TesseractTargets.cmake)
else()