From 1bcd1fc071638512cc0d051bfee73891215af98c Mon Sep 17 00:00:00 2001 From: Albert ARIBAUD Date: Thu, 13 Dec 2018 11:42:01 +0100 Subject: [PATCH] Fixed typo in python install path detection Without this fix, cmake -DBUILD_PYTHON_BINDINGS=ON fails. --- pyiec61850/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyiec61850/CMakeLists.txt b/pyiec61850/CMakeLists.txt index 00c256f1..159ef4bc 100644 --- a/pyiec61850/CMakeLists.txt +++ b/pyiec61850/CMakeLists.txt @@ -34,7 +34,7 @@ swig_link_libraries(iec61850 ${PYTHON_LIBRARIES} ${LIBS}) # Finding python modules install path execute_process( 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 )