update cmake for compatibilty with root 6.14.

A libCubixCore.so library is now produced, and linked to the executable program Cubix
1 job for Cubix in 4 minutes and 46 seconds
Status Job ID Name Coverage
  Build
passed #43022
compile

00:04:46