Error: Instruction is too long.

In CMake, if the link command becomes excessively long due to the presence of too many executable files during the linking process, what methods can be used to solve this problem?