Stefan Weil
d5e000bc58
Remove unsupported OpenCL code and related API functions ( #4220 )
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2024-04-11 19:15:39 +03:00
zdenop
bbc2dfcfe1
cmake: add missing HAVE_NEON to config_auto.h
2023-03-27 19:23:18 +02:00
zdenop
c5007c082b
cmake: fix OpenCL build
2022-03-19 11:52:57 +01:00
Zdenko Podobný
699c1538fb
cmake: disable unused checks
2022-03-10 10:02:25 +01:00
Gilles Talis
be15b46c60
Check if platform supports feenableexcept
...
feenableexcept is not supported by uclibc
Signed-off-by: Gilles Talis <gilles.talis@gmail.com>
[Retrieved (and updated to add cmake support and simplify configure.ac)
from
https://git.buildroot.net/buildroot/tree/package/tesseract-ocr/0001-Check-if-platform-supports-feenableexcept.patch ]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2022-01-11 15:23:56 +01:00
zdenop
89d86d6eee
cmake: improve configuration,
...
prefer find_package instead of PKG_CONFIG for leptonica and tiff
2021-09-19 18:28:45 +02:00
zdenop
eafbb2b22a
cmake: add option to build with libcurl support
2021-09-19 11:13:21 +02:00
Stefan Weil
4dcd8fa591
Fix handling of TESSDATA_PREFIX containing // (fixes issue #3527 )
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2021-08-24 20:05:54 +02:00
zdenop
7975fec2fd
Add new cmake option -DFAST_FLOAT=ON for faster LSTM with float ( #3514 )
...
Co-authored-by: Stefan Weil <sw@weilnetz.de>
2021-08-05 21:35:54 +02:00
Stefan Weil
0a63484644
Remove checks for unused types off_t, mbstate_t, _Bool
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-06-21 12:04:16 +02:00
Stefan Weil
958b90d785
Don't check for unused sys/wait.h
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-06-20 11:01:20 +02:00
Stefan Weil
a1aea84a27
Don't check for unused sys/shm.h and sys/ipc.h
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-06-20 10:59:54 +02:00
Stefan Weil
fd30c86674
Remove endianness test (WORDS_BIGENDIAN is unused)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-06-20 10:47:00 +02:00
Stefan Weil
c1494fb710
Don't check for stdbool.h (only used in capi.h)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-06-20 10:42:28 +02:00
Stefan Weil
d4cf77c92b
Don't check for limits.h (now unused)
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-06-20 10:39:13 +02:00
Stefan Weil
a1d161326e
Don't check for unused malloc.h
...
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2020-06-19 07:30:00 +02:00
Stefan Weil
674d6a90d8
Remove code for embedded build
...
That code is unrelated to Tesseract and can be easily implemented
by external projects which require it.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-06-17 09:55:33 +02:00
zdenop
e44c60c3b2
cmake: respect -DTESSDATA_PREFIX=/path (on linux)
2019-05-25 08:31:26 +02:00
zdenop
8891ba9711
add autotools options to cmake build
2019-03-17 14:50:36 +01:00
Stefan Weil
b3327f4e90
Remove unneeded checks for snprintf
...
snprintf is a standard function which should be available
on all relevant platforms, so those checks are unnecessary.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2019-02-13 08:04:52 +01:00
zdenop
fd881e4486
fix cmake PACKAGE_VERSION to behave same way as in autotools
2019-01-29 20:01:55 +01:00
Stefan Weil
4bbebd3f7e
Remove tests for function getline
...
The Tesseract code does not use getline.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-07-19 16:19:58 +02:00
Stefan Weil
0efc528684
Remove unneeded include statements for string / strings.h
...
Tesseract code does not use strings.h (strngs.h was once called strings.h),
so that dependency can also be removed from cmake and cppan configuration.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-04-30 18:16:34 +02:00
Stefan Weil
8209ce3663
cmake: Update version and add it to config_auto.h ( #1402 )
...
In a next step, the package version should be read from the VERSION file.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2018-03-18 21:10:07 +01:00
Ray Smith
dd216f69e7
Added more missing license headers
2016-11-18 15:56:43 -08:00
Egor Pugin
5199957ae7
Update Configure.cmake
...
Move tiff library header from standard header list.
2016-07-17 13:58:33 +03:00
Egor Pugin
553c069608
Remove unused defines.
2016-07-03 23:34:14 +03:00
Felix Janda
87c21aaa5c
Detect presence of 'off_t' by configure test
2015-10-31 11:54:37 +01:00
Egor Pugin
03531ba8a5
Fix linux build.
2015-09-06 20:43:28 +03:00
Egor Pugin
56a5195293
Initial CMake implementation.
2015-09-06 00:47:32 +03:00