[CMake] Finding Python site-package folder

Antonio Bulgheroni antonio.bulgheroni at gmail.com
Thu Oct 1 11:57:07 EDT 2009


Dear all,

    I'm writing a python extension using SWIG and compiled using CMake. I
would like to install the extension in the right system folder (say $prefix/
lib/python*X.Y*/site-packages) but I can't find any variable in the
FindPythonLibs pointing to this folder.

Do you have any workaround for this?

Thanks for helping,
Antonio

--------------------------------------
Antonio Bulgheroni, PhD
http://unico-lab.blogspot.com

“There are 10 kinds of people.  Those that understand binary and those that
don’t.”
Sent from Ispra, VA, Italy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20091001/1d80a4b5/attachment.htm>


More information about the CMake mailing list