use num cpu cores to parallelize LTO link with gcc
Use the `cmake` `ProcessorCount` module to determine the number of CPU threads, and set the `-flto` flag for gcc to `-flto=${num_cpus}` if the number of CPU threads is detected and is greater than `1`. clang does not support this.
Please register or sign in to comment