Skip to content

Commit

Permalink
Update Tesseract download URLs and hashes
Browse files Browse the repository at this point in the history
  • Loading branch information
royshil committed Jan 5, 2024
1 parent 2657679 commit 2c7dea0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions cmake/FetchTesseract.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -34,26 +34,26 @@ if(USE_PREDEFINED_TESSERACT)
if(APPLE)
if(Tesseract_BUILD_TYPE STREQUAL Debug)
set(Tesseract_URL "${Tesseract_BASEURL}/tesseract-macos-${Tesseract_VERSION}-Debug.tar.gz")
set(Tesseract_HASH SHA256=22c7e6a417108b690f4b3bd81364d7025ad1dfc7f7660b5462bf038f4c369421)
set(Tesseract_HASH SHA256=70eac5b554527fbe23924c4d685675160329db8d3c8b1aca7c86abea20597a64)
else()
set(Tesseract_URL "${Tesseract_BASEURL}/tesseract-macos-${Tesseract_VERSION}-Release.tar.gz")
set(Tesseract_HASH SHA256=04aaa394e64af855c66b41c28192c38cfdf01a4030387cb7690e417b7bbd823b)
set(Tesseract_HASH SHA256=70ed181826bc14c387e9f42ca652a564c279d1ebbf0f670b14d75237c861b14b)
endif()
elseif(MSVC)
if(Tesseract_BUILD_TYPE STREQUAL Debug)
set(Tesseract_URL "${Tesseract_BASEURL}/tesseract-windows-${Tesseract_VERSION}-Debug.zip")
set(Tesseract_HASH SHA256=8aeae11027f4f1e34a25061208ef88188410e10129b06c0c46c24c411dd1fafc)
set(Tesseract_HASH SHA256=9e32b60b7bb80e98a6d4f35c54859e4cdee0e29b1d2652daf99fe2c24494ae01)
else()
set(Tesseract_URL "${Tesseract_BASEURL}/tesseract-windows-${Tesseract_VERSION}-Release.zip")
set(Tesseract_HASH SHA256=55d52af8b7a12f3e45475ac28474642d8f1ae9c30f8f5275082f3c0c4b54a308)
set(Tesseract_HASH SHA256=840c00f126d7e7932ecdf517cfce7e905f0fd801e495be855c55febffe5bdc60)
endif()
else()
if(Tesseract_BUILD_TYPE STREQUAL Debug)
set(Tesseract_URL "${Tesseract_BASEURL}/tesseract-linux-${Tesseract_VERSION}-Debug.tar.gz")
set(Tesseract_HASH SHA256=105bbd5677a48321b3a81d5b63855a742c72139872aaba42d384f459fde937b5)
set(Tesseract_HASH SHA256=cb754aaab8e2ec3cdbb1894921f2f27d62cd05b55496b164f8eb0b38c935d3a0)
else()
set(Tesseract_URL "${Tesseract_BASEURL}/tesseract-linux-${Tesseract_VERSION}-Release.tar.gz")
set(Tesseract_HASH SHA256=ec106bbd7083c3067bc55cd3df465b9aff93bc2306894be352cd37cbbd26fd91)
set(Tesseract_HASH SHA256=f4cdcb9e86374bcb9fadcf23dbe0b097622bec3fcec352b78999f90b902df0a3)
endif()
endif()
else()
Expand Down

0 comments on commit 2c7dea0

Please sign in to comment.