Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
update swig to 3.0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
breznak committed Jan 10, 2018
1 parent d608108 commit 34b2a84
Show file tree
Hide file tree
Showing 659 changed files with 3 additions and 86,580 deletions.
6 changes: 3 additions & 3 deletions external/Swig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@
# SWIG_DIR: the directory where swig is installed (.i files, etc.) as defined
# by FindSWIG.

set(swig_path "${REPOSITORY_DIR}/external/common/src/swig-3.0.2.tar.gz")
set(swig_path "${REPOSITORY_DIR}/external/common/src/swig-3.0.12.tar.gz")
set(pcre_path "${REPOSITORY_DIR}/external/common/src/pcre-8.37.tar.gz")

if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
# We bundle pre-built Swig for Windows (presumably because we can't build it?)
add_custom_target(Swig)
set(swig_executable
${PROJECT_SOURCE_DIR}/${PLATFORM}${BITNESS}${PLATFORM_SUFFIX}/bin/swig.exe)
set(swig_dir ${PROJECT_SOURCE_DIR}/common/share/swig/3.0.2)
set(swig_dir ${PROJECT_SOURCE_DIR}/common/share/swig/3.0.12)
else()
# Build Swig from source on non-Windows (e.g., Linux and OS X)
ExternalProject_Add(
Expand All @@ -49,7 +49,7 @@ else()
${EP_BASE}/Source/Swig/configure --prefix=${EP_BASE}/Install --disable-ccache --enable-cpp11-testing
)
set(swig_executable ${EP_BASE}/Install/bin/swig)
set(swig_dir ${EP_BASE}/Install/share/swig/3.0.2)
set(swig_dir ${EP_BASE}/Install/share/swig/3.0.12)
endif()

set(SWIG_EXECUTABLE ${swig_executable} PARENT_SCOPE)
Expand Down
Loading

0 comments on commit 34b2a84

Please sign in to comment.