diff options
author | Seth R Johnson <johnsonsr@ornl.gov> | 2020-02-21 03:05:55 (GMT) |
---|---|---|
committer | Seth R Johnson <johnsonsr@ornl.gov> | 2020-02-26 15:12:30 (GMT) |
commit | e131d9f974fd51d0cecb8f3e23d72f2aa8f12ec8 (patch) | |
tree | 8a390f2bd7f55f54284d1718abed14a69d1b4e71 /Tests/RunCMake/CMakeLists.txt | |
parent | 25ca8e5ce5019c0fb8648f7408b864add6b19d83 (diff) | |
download | CMake-e131d9f974fd51d0cecb8f3e23d72f2aa8f12ec8.zip CMake-e131d9f974fd51d0cecb8f3e23d72f2aa8f12ec8.tar.gz CMake-e131d9f974fd51d0cecb8f3e23d72f2aa8f12ec8.tar.bz2 |
FindSWIG: Add COMPONENTS support for SWIG target languages
Newer versions of SWIG drop support for some target languages, and some
forks of SWIG (such as for Fortran and MATLAB) aren't supported by the
mainline version of SWIG.
Swig versions as old as 1.3.6 (circa 2001) and possibly older use the
same format for listing available wrappers "%-15s - Generate %s
wrappers", so component detection should be quite reliable.
Diffstat (limited to 'Tests/RunCMake/CMakeLists.txt')
-rw-r--r-- | Tests/RunCMake/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMakeLists.txt b/Tests/RunCMake/CMakeLists.txt index e9f8bca..d751d24 100644 --- a/Tests/RunCMake/CMakeLists.txt +++ b/Tests/RunCMake/CMakeLists.txt @@ -188,6 +188,7 @@ add_RunCMake_test(FindBoost) add_RunCMake_test(FindLua) add_RunCMake_test(FindOpenGL) if(CMake_TEST_UseSWIG) + add_RunCMake_test(FindSWIG) add_RunCMake_test(UseSWIG -DCMake_TEST_FindPython=${CMake_TEST_FindPython}) endif() if(NOT CMAKE_C_COMPILER_ID MATCHES "Watcom") |