Closed michaeldleslie closed 8 months ago
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
In QNX versions prior to 7.1, the regex functionality was located in
libc.a
and no extra linker flag was required. In QNX 7.1 and newer, we do need to link against the newlibregex
, which is what the current approach does always, breaking builds against older QNX versions.Add check of
CMAKE_SYSTEM_VERSION
to handle this. QNX 7.0 is admittedly long in the tooth but it would be nice to keep this in good shape until it's commercially EOL'd in 2027.