From fd934fff631d036b705fb56413c0b1036d23b5c6 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Tue, 28 Feb 2012 15:46:43 +0100 Subject: - also export solv config to swig, thanks Zdenek Pavlas --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'CMakeLists.txt') 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) -- cgit v1.2.3