From 68fe521fffecf0cb41e4643cc3dc0065ab3c3db9 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Tue, 28 Feb 2012 16:11:29 +0100 Subject: - use -D for swig (-D=1 works for me as well, but it isn't documented) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') 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) -- cgit v1.2.3