ocr: Pass SANESCAN_TESSDATA_PATH via CMake configuration parameter
Previous approach expected that CXXFLAGS is modified which was not done in nix build file. Using cmake flags is more convenient for everyone, as even help is built in into cmake.
Previous approach expected that CXXFLAGS is modified which was not done in nix build file. Using cmake flags is more convenient for everyone, as even help is built in into cmake.