[CMake] strange rpath with lotf of ":"-s

Szilárd Páll szilard.pall at cbr.su.se
Thu Jun 9 05:51:20 EDT 2011


Hi,

I see strange rpath in binaries inside the build tree, linked in such
a way that these can run from the build tree. In some cases the rpath
list contains a fairly large amount of ":"-s, sometimes only one at
the end. Already one colon is unnecessary (at least in my case), but
the case when there are many of them is very strange. After make
install-ing the colons are gone, so it's not really a security
vulnerability, but it's still strange.

Does anyone have any idea whether this is caused by a bug in my
CMakeList.txt-s or it's a CMake "feature"?

Cheers,
--
Szilárd


More information about the CMake mailing list