mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-16 04:02:03 -06:00
FindSWIG: Support swig4.0
This commit is contained in:
committed by
Brad King
parent
7700df9b1e
commit
65c5c1b567
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user