Commit 65c5c1b5 authored by Daniele E. Domenichelli's avatar Daniele E. Domenichelli Committed by Brad King

FindSWIG: Support swig4.0

parent 7700df9b
......@@ -26,7 +26,7 @@ to be found can be changed from the command line by means of setting
SWIG_EXECUTABLE
#]=======================================================================]
find_program(SWIG_EXECUTABLE NAMES swig3.0 swig2.0 swig)
find_program(SWIG_EXECUTABLE NAMES swig4.0 swig3.0 swig2.0 swig)
if(SWIG_EXECUTABLE)
execute_process(COMMAND ${SWIG_EXECUTABLE} -swiglib
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment