summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2012-02-28 15:46:43 +0100
committerMichael Schroeder <mls@suse.de>2012-02-28 15:46:43 +0100
commitfd934fff631d036b705fb56413c0b1036d23b5c6 (patch)
tree8521c33bc1cc2c1c548c8287cc9a4c0e28f5383a /CMakeLists.txt
parent2471d02d541c838ea07872dcea0d270444eeb2de (diff)
downloadlibsolv-fd934fff631d036b705fb56413c0b1036d23b5c6.tar.gz
libsolv-fd934fff631d036b705fb56413c0b1036d23b5c6.tar.bz2
libsolv-fd934fff631d036b705fb56413c0b1036d23b5c6.zip
- also export solv config to swig, thanks Zdenek Pavlas
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index cfd8043..de3ca5d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -135,6 +135,7 @@ FOREACH (VAR HAVE_STRCHRNUL HAVE_FOPENCOOKIE HAVE_FUNOPEN WORDS_BIGENDIAN
ENABLE_HELIXREPO ENABLE_DEBIAN)
IF(${VAR})
ADD_DEFINITIONS (-D${VAR}=1)
+ SET (SWIG_FLAGS ${SWIG_FLAGS} -D${VAR}=1)
ENDIF (${VAR})
ENDFOREACH (VAR)