mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-24 02:59:07 +08:00
Update CMakeLists.txt
This commit is contained in:
parent
ae53ed6a07
commit
b6eb8bebb1
@ -245,7 +245,6 @@ if (NOT CPPAN_BUILD)
|
|||||||
export(TARGETS libtesseract FILE ${CMAKE_BINARY_DIR}/TesseractTargets.cmake)
|
export(TARGETS libtesseract FILE ${CMAKE_BINARY_DIR}/TesseractTargets.cmake)
|
||||||
else()
|
else()
|
||||||
target_link_libraries (libtesseract pvt.cppan.demo.danbloomberg.leptonica)
|
target_link_libraries (libtesseract pvt.cppan.demo.danbloomberg.leptonica)
|
||||||
add_dependencies (libtesseract cppan)
|
|
||||||
file(WRITE ${CMAKE_BINARY_DIR}/TesseractTargets.cmake "include(${CMAKE_BINARY_DIR}/cppan.cmake)\n")
|
file(WRITE ${CMAKE_BINARY_DIR}/TesseractTargets.cmake "include(${CMAKE_BINARY_DIR}/cppan.cmake)\n")
|
||||||
export(TARGETS libtesseract APPEND FILE ${CMAKE_BINARY_DIR}/TesseractTargets.cmake)
|
export(TARGETS libtesseract APPEND FILE ${CMAKE_BINARY_DIR}/TesseractTargets.cmake)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user