[CMake] Finding Python Modules with CMake
Todd Gamblin
tgamblin at llnl.gov
Mon Jan 3 03:17:29 EST 2011
Is there a way in CMake, once I find the python interpreter, to query for the availability of a particular module? e.g. say I want to make sure that the host's python installation has PyQt4, or numy, or something like that. Do I have to manually run the interpreter, try to import it, and check the return code, or is there a builtin for that?
Something like this would be handy for the python modules:
http://www.gnu.org/software/autoconf-archive/ax_python_module.html
Again, I couldn't find much in the docs for this.
-Todd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20110103/c31280c3/attachment-0001.htm>
More information about the CMake
mailing list