summaryrefslogtreecommitdiff
path: root/swig/python
diff options
context:
space:
mode:
authorKlaus Kämpf <kkaempf@suse.de>2010-11-09 13:29:29 +0100
committerKlaus Kämpf <kkaempf@suse.de>2010-11-09 13:29:29 +0100
commit00768743f7ab9dc9b2647b8a528e5b0af051c11a (patch)
tree9d530becbb52703a6c0cdff00df48c30bab0c754 /swig/python
parent48c4e6fbda89a032d18acee68de3197be3a0335a (diff)
downloadlibzypp-bindings-00768743f7ab9dc9b2647b8a528e5b0af051c11a.tar.gz
libzypp-bindings-00768743f7ab9dc9b2647b8a528e5b0af051c11a.tar.bz2
libzypp-bindings-00768743f7ab9dc9b2647b8a528e5b0af051c11a.zip
swig output depends on .h files
Diffstat (limited to 'swig/python')
-rw-r--r--swig/python/CMakeLists.txt2
-rw-r--r--[-rwxr-xr-x]swig/python/tests/starting.py0
2 files changed, 1 insertions, 1 deletions
diff --git a/swig/python/CMakeLists.txt b/swig/python/CMakeLists.txt
index 8aab73b..bdc4909 100644
--- a/swig/python/CMakeLists.txt
+++ b/swig/python/CMakeLists.txt
@@ -29,7 +29,7 @@ ADD_CUSTOM_COMMAND (
COMMAND ${SWIG_EXECUTABLE} -v ${SWIG_DEFINITIONS} -c++ -python -o ${SWIG_OUTPUT} -I${ZYPP_INCLUDE_DIR} ${SWIG_INPUT}
COMMAND ${CMAKE_COMMAND} -E echo "Done."
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
- DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/../*.i ${CMAKE_CURRENT_SOURCE_DIR}/*.i
+ DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/../*.i ${CMAKE_CURRENT_SOURCE_DIR}/../*.h ${CMAKE_CURRENT_SOURCE_DIR}/*.i
)
ADD_LIBRARY( zypp_python SHARED ${SWIG_OUTPUT} )
diff --git a/swig/python/tests/starting.py b/swig/python/tests/starting.py
index c97193f..c97193f 100755..100644
--- a/swig/python/tests/starting.py
+++ b/swig/python/tests/starting.py