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
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to