Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Wrapping/Generators/SwigInterface/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ option(
)
mark_as_advanced(ITK_USE_SYSTEM_SWIG)

# Minimal swig version
set(swig_version_min 4.2.0)
# Minimal swig version (4.3.0 first ships the SWIG_Py_DECREF runtime macro the generated wrappers require)
set(swig_version_min 4.3.0)
# Version used in vendored binary or source build configured in this file.
set(ITK_SWIG_VERSION 2024-03-26-master)

Expand Down Expand Up @@ -137,8 +137,8 @@ if(ITK_USE_SYSTEM_SWIG)
# Check for the swig version
if(${SWIG_VERSION} VERSION_LESS ${swig_version_min})
message(
WARNING
"Swig version less than ${swig_version_min}: \"${SWIG_VERSION}\"."
FATAL_ERROR
"Swig version less than ${swig_version_min}: \"${SWIG_VERSION}\". Set ITK_USE_SYSTEM_SWIG=OFF or provide a newer swig."
)
endif()
else()
Expand Down
Loading
Loading