[CMake] CMAKE uses wrong symlink to so
j s
j.s4403 at gmail.com
Wed Dec 29 18:28:14 EST 2010
I specified the full name to an so in CMAKE 2.8.1. Unfortunately it links
against the versioned so name,
libpython2.6.so.1.0
instead of the exact name I specified.
/usr/lib/libpython2.6.so
SET (PYTHON_ARCHIVE /usr/lib/libpython2.6.so)
TARGET_LINK_LIBRARIES (myapp parser engine ${PYTHON_ARCHIVE}
${OPENSSL_ARCHIVE})
Is there any way to tell cmake to do the right thing in Linux? For some
strange reason using -l on the link line, and doesn't even use the
corresponding -L to the path I specify.
-lpython2.6
Regards,
Juan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101229/15fcbeb7/attachment.htm>
More information about the CMake
mailing list