What flags do I have to add to my CMake command, to use a non-default linker executable like lld, mold, or gold? It should be independent of the actual program, pure CMake.
Asked
Active
Viewed 28 times
0
-
1[That question](https://stackoverflow.com/questions/1867745/cmake-use-a-custom-linker) seems to be about the same problem as yours. – Tsyvarev Mar 05 '22 at 11:46