asmodehn / wkcmake

Workshop CMake - For quick and easy CMake setup of project, based on simple folder and file naming conventions
BSD 2-Clause "Simplified" License
5 stars 2 forks source link

Multiple times same library #8

Open asmodehn opened 11 years ago

asmodehn commented 11 years ago

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...