mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 03:59:58 +00:00
FindSWIG: Support swig4.0
This commit is contained in:
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
|
||||
|
Loading…
Reference in New Issue
Block a user