Skip to content

Commit

Permalink
Add cmake check for swig minimum version 2.0.4.
Browse files Browse the repository at this point in the history
-added a check for swig version >= 2.0.4 in combination
with python 3.2 for python bindings.
From changelog of swig 2.0.4:
2011-04-09: szager [Python]
Applied patch #1932484: migrate PyCObject to PyCapsule.
  • Loading branch information
OlafArnold committed Jun 6, 2012
1 parent 1d91090 commit bbecd06
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 154 deletions.
16 changes: 0 additions & 16 deletions SupportFiles/README

This file was deleted.

92 changes: 0 additions & 92 deletions SupportFiles/swig-pycapsule.patch

This file was deleted.

45 changes: 0 additions & 45 deletions SupportFiles/swig-pyslice.patch

This file was deleted.

2 changes: 1 addition & 1 deletion src/bindings/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ IF (WITH_YAF_PY_BINDINGS OR WITH_YAF_RUBY_BINDINGS)
FIND_PACKAGE(YafSWIG REQUIRED)

IF(YAF_PY_VERSION GREATER 3.1)
SET(YAF_SWIG_MIN_VERSION 2.0.0)
SET(YAF_SWIG_MIN_VERSION 2.0.4)
ELSE(YAF_PY_VERSION GREATER 3.1)
SET(YAF_SWIG_MIN_VERSION 1.3.36)
ENDIF(YAF_PY_VERSION GREATER 3.1)
Expand Down

0 comments on commit bbecd06

Please sign in to comment.