Set minumum SWIG version to 3.0 for C++11 support.

This commit is contained in:
Wayne Stambaugh 2016-06-10 14:08:35 -04:00
parent 21595f48d3
commit 588d4c33a0
1 changed files with 3 additions and 1 deletions

View File

@ -8,7 +8,9 @@ add_dependencies( pnsrouter pcbcommon )
if( KICAD_SCRIPTING OR KICAD_SCRIPTING_MODULES ) if( KICAD_SCRIPTING OR KICAD_SCRIPTING_MODULES )
file( MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/scripting ) file( MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/scripting )
find_package( SWIG REQUIRED )
# SWIG 3.0 or later require for C++11 support.
find_package( SWIG 3.0 REQUIRED )
include( ${SWIG_USE_FILE} ) include( ${SWIG_USE_FILE} )
# Infrequently needed headers go at end of search paths, append to INC_AFTER # Infrequently needed headers go at end of search paths, append to INC_AFTER