mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-15 03:47:59 +08:00
[tesseract] Fix Port. Making it crossplatform (#7144)
This commit is contained in:
parent
e5d7cc9160
commit
374806d659
@ -31,7 +31,11 @@ vcpkg_fixup_cmake_targets(CONFIG_PATH cmake)
|
|||||||
|
|
||||||
# Install tool
|
# Install tool
|
||||||
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/tools/tesseract)
|
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/tools/tesseract)
|
||||||
file(COPY ${CURRENT_PACKAGES_DIR}/bin/tesseract.exe DESTINATION ${CURRENT_PACKAGES_DIR}/tools/tesseract)
|
set(EXTENSION)
|
||||||
|
if(WIN32)
|
||||||
|
set(EXTENSION ".exe")
|
||||||
|
endif()
|
||||||
|
file(COPY ${CURRENT_PACKAGES_DIR}/bin/tesseract${EXTENSION} DESTINATION ${CURRENT_PACKAGES_DIR}/tools/tesseract)
|
||||||
vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/tesseract)
|
vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/tesseract)
|
||||||
|
|
||||||
vcpkg_copy_pdbs()
|
vcpkg_copy_pdbs()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user