user/jszakmeister: fix and add a cmake snippet