tesseract/api
Stefan Weil 6140be6a55 openmp: Fix build with clang++ and compilers without OpenMP support
Builds without support for OpenMP failed with the old code. Fix this:

* Add OPENMP_CXXFLAGS for ccmain.
* Replace unconditional -fopenmp by OPENMP_CXXFLAGS for lstm.
* Always use _OPENMP for conditional compilation.
* Remove OPENMP as there is already _OPENMP.
* Include omp.h conditionally.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-12-04 18:44:03 +01:00
..
apitypes.h Cleaned up externally used namespace by removing includes from baseapi.h 2012-02-02 03:14:16 +00:00
baseapi.cpp Simplify delete operations 2016-11-24 17:59:13 +01:00
baseapi.h Remove extra semicolons after member function definitions 2016-12-04 14:54:52 +01:00
capi.cpp add copyright to C-API 2016-03-18 19:17:09 +01:00
capi.h add copyright to C-API 2016-03-18 19:17:09 +01:00
Makefile.am openmp: Fix build with clang++ and compilers without OpenMP support 2016-12-04 18:44:03 +01:00
pdfrenderer.cpp Simplify new operations 2016-11-30 20:24:38 +01:00
renderer.cpp Result of clang tidy on recent merge 2016-11-07 10:46:33 -08:00
renderer.h Added new LSTM-based neural network line recognizer 2016-11-07 15:38:07 -08:00
tesseractmain.cpp Change tesseract parameter -psm to --psm 2016-11-30 22:23:46 +01:00