test.cmake: do not hardcode value for CTEST_CMAKE_GENERATOR