@jonrsharpe,
First you don't have to use CMake to configure. You could have used provided zmakefiles and build with a good old way.
Second, please run CMake GUI. There is an option you can set to build the library and samples. I this it's called wxCMAKE_SAMPLES_ONLY or something like this.