summaryrefslogtreecommitdiff
path: root/cmake/FindPython.cmake
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2013-01-31 17:14:34 +0100
committerSebastien Helleu <flashcode@flashtux.org>2013-01-31 17:14:34 +0100
commit5d2382caab50d046a1a8abddeb34d7a545b9ea12 (patch)
tree07956298c40ca52de4c857444544ee43c1dc1ca8 /cmake/FindPython.cmake
parent8b43151c855730e8c7266e796bc9e49a00651d0c (diff)
downloadweechat-5d2382caab50d046a1a8abddeb34d7a545b9ea12.zip
core: fix detection of python on Ubuntu Raring
Diffstat (limited to 'cmake/FindPython.cmake')
-rw-r--r--cmake/FindPython.cmake2
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
)