When using SDL and dependencies, in the SDL_LIBRARIES variable, multiple times the libSDLmain.a and pthread is listed.
Although it doesnt create any problem at build it is annoying...
Finding a way to have unicity seems the way to go. However be careful, the order of variables in the link command line used to matter, so we probably dont want to delete libraries that are listed multiple times for a good reason, such as multiple dependencies...
When using SDL and dependencies, in the SDL_LIBRARIES variable, multiple times the libSDLmain.a and pthread is listed.
Although it doesnt create any problem at build it is annoying...
Finding a way to have unicity seems the way to go. However be careful, the order of variables in the link command line used to matter, so we probably dont want to delete libraries that are listed multiple times for a good reason, such as multiple dependencies...