correct CMakeList for Linux/Apple compatibility

1 job for Cubix in 5 minutes and 5 seconds (queued for 1 second)
Status Job ID Name Coverage
  Build
passed #124202
compile

00:05:05