aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorHugo Parente Lima <hugo.pl@gmail.com>2010-10-26 15:10:55 -0200
committerHugo Parente Lima <hugo.pl@gmail.com>2012-03-08 16:08:53 -0300
commit467240696e7ed0ca03cdecffa2b63112ab9507d8 (patch)
tree8a6988158a2cc1e64c2c7d3dc7abb1e57aa263de /data
parent286a58f532d7d8c9a8ff4dfe0b49587b3ed9829c (diff)
Add variable with python include dir to ShibokenConfig.cmake
Reviewer: Lauro Moura <lauro.neto@openbossa.org> Renato Araújo <renato.filho@openbossa.org>
Diffstat (limited to 'data')
-rw-r--r--data/ShibokenConfig.cmake.in1
-rw-r--r--data/shiboken.pc.in1
2 files changed, 2 insertions, 0 deletions
diff --git a/data/ShibokenConfig.cmake.in b/data/ShibokenConfig.cmake.in
index 2a4ffd4da..bd39b39a1 100644
--- a/data/ShibokenConfig.cmake.in
+++ b/data/ShibokenConfig.cmake.in
@@ -12,6 +12,7 @@ elseif(WIN32)
else()
SET(SHIBOKEN_LIBRARY "@LIB_INSTALL_DIR@/@CMAKE_SHARED_LIBRARY_PREFIX@shiboken@shiboken_SUFFIX@@LIBRARY_OUTPUT_SUFFIX@@CMAKE_SHARED_LIBRARY_SUFFIX@")
endif()
+SET(SHIBOKEN_PYTHON_INCLUDE_DIR "@PYTHON_INCLUDE_DIR@")
SET(SHIBOKEN_PYTHON_INTERPRETER "@PYTHON_EXECUTABLE@")
SET(SHIBOKEN_PYTHON_LIBRARIES "@SBK_PYTHON_LIBRARIES@")
SET(SHIBOKEN_BUILD_TYPE "@SHIBOKEN_BUILD_TYPE@")
diff --git a/data/shiboken.pc.in b/data/shiboken.pc.in
index f0072bf68..9a119b875 100644
--- a/data/shiboken.pc.in
+++ b/data/shiboken.pc.in
@@ -4,6 +4,7 @@ libdir=@LIB_INSTALL_DIR@
includedir=@CMAKE_INSTALL_PREFIX@/include/shiboken
generator_location=@CMAKE_INSTALL_PREFIX@/bin/shiboken
python_interpreter=@PYTHON_EXECUTABLE@
+python_include_dir=@PYTHON_INCLUDE_DIR@
Name: shiboken
Description: Support library for Python bindings created with Shiboken generator.