3 Jun 2013 14:46
A library to talk to FTDI chips branch, master, updated. v1.0-20-g5c9e648
<libftdi-git <at> developer.intra2net.com>
2013-06-03 12:46:48 GMT
2013-06-03 12:46:48 GMT
The branch, master has been updated
via 5c9e648a9f59f7f478506aa5d33541b81b31cc7f (commit)
from 438d977e409ca5d2c125088138db2f7721b486fa (commit)
- Log -----------------------------------------------------------------
commit 5c9e648a9f59f7f478506aa5d33541b81b31cc7f
Author: Julien Schueller <julien.schueller <at> gmail.com>
Date: Mon Jun 3 09:42:49 2013 +0200
Take dist-specifc python path into account.
-----------------------------------------------------------------------
Summary of changes:
python/CMakeLists.txt | 21 +++++++++++++--------
1 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt
index 5a61bc1..bf88e23 100644
--- a/python/CMakeLists.txt
+++ b/python/CMakeLists.txt
<at> <at> -21,14 +21,19 <at> <at> if ( SWIG_FOUND AND PYTHONLIBS_FOUND AND PYTHONINTERP_FOUND )
swig_link_libraries ( ftdi1 ${PYTHON_LIBRARIES} )
endif ()
- execute_process ( COMMAND ${PYTHON_EXECUTABLE} -c "import sys; print( '%d.%d' % (
sys.version_info[0], sys.version_info[1] ) )"
- OUTPUT_VARIABLE PYTHON_VERSION
+ execute_process ( COMMAND ${PYTHON_EXECUTABLE} -c "from distutils import sysconfig; print(
sysconfig.get_python_lib( plat_specific=True, prefix='${CMAKE_INSTALL_PREFIX}' ) )"
(Continue reading)
RSS Feed