summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniele E. Domenichelli <daniele.domenichelli@iit.it>2019-05-13 09:08:52 (GMT)
committerBrad King <brad.king@kitware.com>2019-05-13 15:29:53 (GMT)
commit65c5c1b567bdeb4c33ac2f6ad92786c159edf82a (patch)
treea690a044271425fb1756086d4f4ecf2db5278e8a
parent7700df9b1ef66761cad08cfc08344d5b27660e9f (diff)
downloadCMake-65c5c1b567bdeb4c33ac2f6ad92786c159edf82a.zip
CMake-65c5c1b567bdeb4c33ac2f6ad92786c159edf82a.tar.gz
CMake-65c5c1b567bdeb4c33ac2f6ad92786c159edf82a.tar.bz2
FindSWIG: Support swig4.0
-rw-r--r--Modules/FindSWIG.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindSWIG.cmake b/Modules/FindSWIG.cmake
index fc0ed00..96b254f 100644
--- a/Modules/FindSWIG.cmake
+++ b/Modules/FindSWIG.cmake
@@ -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