[CMake] CMake removing duplicated static libraries from target_link_libraries list?

Alexander Neundorf a.neundorf-work at gmx.net
Wed Feb 2 13:38:07 EST 2011


On Wednesday 02 February 2011, Marco wrote:
> Hi Michael,
>
> here's the plain example. I have a package with its CMakeLists.txt file
> like this:

Which version of cmake are you using ?

There is logic in cmake which analyzes the dependencies, and usually the 
library list as given by the user should never be modified (i.e. nothing 
should be removed).
If this is done, then I think this is considered a bug.
Can you create a small testcase and create a bug report on the cmake bug 
tracker ?

Alex


More information about the CMake mailing list