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

_______________________________________________
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