Merge pull request #92 from aaribaud/python-import-sys-fix

Fix typo in python install path detection
pull/147/head
Michael Zillgith 7 years ago committed by GitHub
commit 2df6387b99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -34,7 +34,7 @@ swig_link_libraries(iec61850 ${PYTHON_LIBRARIES} ${LIBS})
# Finding python modules install path # Finding python modules install path
execute_process( execute_process(
COMMAND ${PYTHON_EXECUTABLE} -c COMMAND ${PYTHON_EXECUTABLE} -c
"from distutils.sysconfig import get_python_lib; import.sys; sys.stdout.write(get_python_lib())" "from distutils.sysconfig import get_python_lib; import sys; sys.stdout.write(get_python_lib())"
OUTPUT_VARIABLE PYTHON_SITE_DIR OUTPUT_VARIABLE PYTHON_SITE_DIR
) )

Loading…
Cancel
Save