diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2013-01-31 17:14:34 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2013-01-31 17:14:34 +0100 |
commit | 5d2382caab50d046a1a8abddeb34d7a545b9ea12 (patch) | |
tree | 07956298c40ca52de4c857444544ee43c1dc1ca8 /cmake/FindPython.cmake | |
parent | 8b43151c855730e8c7266e796bc9e49a00651d0c (diff) | |
download | weechat-5d2382caab50d046a1a8abddeb34d7a545b9ea12.zip |
core: fix detection of python on Ubuntu Raring
Diffstat (limited to 'cmake/FindPython.cmake')
-rw-r--r-- | cmake/FindPython.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindPython.cmake b/cmake/FindPython.cmake index 801655a92..7e88cbb06 100644 --- a/cmake/FindPython.cmake +++ b/cmake/FindPython.cmake @@ -47,7 +47,7 @@ ENDIF(ENABLE_PYTHON3) IF(PYTHON_EXECUTABLE) EXECUTE_PROCESS( - COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('CONFINCLUDEPY'))" + COMMAND ${PYTHON_EXECUTABLE} -c "import sys; from distutils.sysconfig import *; sys.stdout.write(get_config_var('INCLUDEPY'))" OUTPUT_VARIABLE PYTHON_INC_DIR ) |