[cmake] Add the chrtclib support