[cmake-developers] Undocumented change in behavior in cmake 3.9.X (SWIG)

Simon Lees sflees at suse.de
Thu Aug 17 04:11:35 EDT 2017


We at openSUSE have noticed a change in behavior presumably in
swig_link_libraries in one package cproton_perl.so is now being
generated rather then libcproton_perl.so I presume the lines generating
the library are below (I am not familiar with the package)

swig_add_module(cproton_perl perl perl.i)
swig_link_libraries(cproton_perl ${BINDING_DEPS} ${PERL_LIBRARY}
-lpthread -lm)

changing to the non depreciated swig_add_libraries caries this same
change. I have a full build log available at [1] and a build on my
system should you require more info.

I guess the question we have is was this change intentional and
accidentally undocumented (unless I missed it) or is there a deeper
issue with cmake that needs fixing here.



Simon Lees (Simotek)                            http://simotek.net

Emergency Update Team                           keybase.io/simotek
SUSE Linux                           Adelaide Australia, UTC+10:30
GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20170817/bd006a0e/attachment.sig>

More information about the cmake-developers mailing list