summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2012-02-28 16:11:29 +0100
committerMichael Schroeder <mls@suse.de>2012-02-28 16:11:29 +0100
commit68fe521fffecf0cb41e4643cc3dc0065ab3c3db9 (patch)
tree7804f92bd74accb065e57f0304ca39529938030c /CMakeLists.txt
parentfd934fff631d036b705fb56413c0b1036d23b5c6 (diff)
downloadlibsolv-68fe521fffecf0cb41e4643cc3dc0065ab3c3db9.tar.gz
libsolv-68fe521fffecf0cb41e4643cc3dc0065ab3c3db9.tar.bz2
libsolv-68fe521fffecf0cb41e4643cc3dc0065ab3c3db9.zip
- use -D<sym> for swig (-D<sym>=1 works for me as well, but it isn't documented)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index de3ca5d..70ecf72 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -135,7 +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)
+ SET (SWIG_FLAGS ${SWIG_FLAGS} -D${VAR})
ENDIF (${VAR})
ENDFOREACH (VAR)