agatan / ctclib

A collection of utilities related to CTC
MIT License
5 stars 7 forks source link

Force std=c++11 so it build on macs #9

Open mkmik opened 5 months ago

mkmik commented 5 months ago

In order to build kenlm on modern macs --std=c++11 must be explicitly enabled.

$ clang --version
Apple clang version 15.0.0 (clang-1500.3.9.4)

I tried this patch on linux debian:11 and debian:12 and it doesn't cause regressions there.

While I was at it I noticed that the readme didn't mention the necessity of installing cmake which is required to build kenlm, so I updated the README.