[Python-modules-commits] [shiboken] 03/13: python3.3-and-multiarch
Raphaël Hertzog
hertzog at moszumanska.debian.org
Thu Aug 17 18:09:39 UTC 2017
This is an automated email from the git hooks/post-receive script.
hertzog pushed a commit to branch master
in repository shiboken.
commit cad10f446a856d76227ee48a6e16e13d9e906df3
Author: SVN-Git Migration <python-modules-team at lists.alioth.debian.org>
Date: Thu Oct 8 13:47:14 2015 -0700
python3.3-and-multiarch
Bug: https://bugreports.qt-project.org/browse/PYSIDE-146
Forwarded: yes
---
cmake/Modules/FindPython3Libs.cmake | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/cmake/Modules/FindPython3Libs.cmake b/cmake/Modules/FindPython3Libs.cmake
index 5caf0bf..17fed7e 100644
--- a/cmake/Modules/FindPython3Libs.cmake
+++ b/cmake/Modules/FindPython3Libs.cmake
@@ -114,11 +114,19 @@ MARK_AS_ADVANCED(
PYTHON3_INCLUDE_DIR
)
+execute_process(
+ COMMAND ${PYTHON3_EXECUTABLE} -c "from distutils import sysconfig; \\
+ print(sysconfig.get_python_inc(plat_specific=True));"
+ OUTPUT_VARIABLE PYTHON3_PLAT_INCDIR
+ OUTPUT_STRIP_TRAILING_WHITESPACE)
+
+message("PYTHON PLAT INC: ${PYTHON3_PLAT_INCDIR}")
+
# We use PYTHON3_INCLUDE_DIR, PYTHON3_LIBRARY and PYTHON3_DEBUG_LIBRARY for the
# cache entries because they are meant to specify the location of a single
# library. We now set the variables listed by the documentation for this
# module.
-SET(PYTHON3_INCLUDE_DIRS "${PYTHON3_INCLUDE_DIR}")
+SET(PYTHON3_INCLUDE_DIRS "${PYTHON3_INCLUDE_DIR}" "${PYTHON3_PLAT_INCDIR}")
SET(PYTHON3_LIBRARIES "${PYTHON3_LIBRARY}")
SET(PYTHON3_DEBUG_LIBRARIES "${PYTHON3_DEBUG_LIBRARY}")
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/shiboken.git
More information about the Python-modules-commits
mailing list