cmake: put static executable links into a -j1 pool
Buildbots which do static builds (BUILD_SHARED_LIBS=OFF) are running out of memory (or hitting swap) while linking all of the static libraries into the resulting executables in ParaView because they link "everything" and all occur at the same time as a result of having the same dependency trees. Instead, place these links into a pool which only allows a single build rule to happen at a time. Only applicable for Ninja at the moment.
Showing with 11 additions and 0 deletions