Currently there seems to be no way to avoid building all tests when building with cmake.
This takes considerable time, and allowing users to only compile the actual library would be easy by including an option like
option(SCALAPACK_BUILD_TESTS "Build all tests of the ScaLAPACK library" ON)
and later writing
if (${SCALAPACK_BUILD_TESTS})
add_subdirectory(TESTING)
endif()
If this is acceptable, I can make a small PR for this.