liegroup: fix C++ version checking

9 jobs for pr/1305 in 155 minutes and 52 seconds (queued for 1 second)
Status Name Job ID Coverage
  Test
passed doc-coverage #94415

02:35:50

97.0%
failed format #94416
allowed to fail

00:01:15

passed robotpkg-pinocchio-18.04-release #94408

00:47:12

passed robotpkg-py-pinocchio-py2-18.04-release #94411

01:45:18

passed robotpkg-py-pinocchio-py3-16.04-release #94409

02:00:59

passed robotpkg-py-pinocchio-py3-18.04-release #94410

01:45:03

passed robotpkg-py-pinocchio-py3-20.04-release #94412

01:50:29

passed robotpkg-py-pinocchio-py3-buster-release #94413

01:48:22

passed robotpkg-py-pinocchio-py3-stretch-release #94414

01:53:34

 
Name Stage Failure
failed
format Test
     case pinocchio::URDF:
#ifdef PINOCCHIO_WITH_URDFDOM
- pinocchio::urdf::buildModel(filename,model,verbose);
+ pinocchio::urdf::buildModel(filename, model, verbose);
#else
std::cerr << "It seems that the URDFDOM module has not been found during the Cmake process." << std::endl;
#endif
Cleaning up file based variables
ERROR: Job failed: exit code 1