summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorSeth R Johnson <johnsonsr@ornl.gov>2020-02-21 03:05:55 (GMT)
committerSeth R Johnson <johnsonsr@ornl.gov>2020-02-26 15:12:30 (GMT)
commite131d9f974fd51d0cecb8f3e23d72f2aa8f12ec8 (patch)
tree8a390f2bd7f55f54284d1718abed14a69d1b4e71 /Help
parent25ca8e5ce5019c0fb8648f7408b864add6b19d83 (diff)
downloadCMake-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 'Help')
-rw-r--r--Help/release/dev/findswig-components.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/release/dev/findswig-components.rst b/Help/release/dev/findswig-components.rst
new file mode 100644
index 0000000..ce569be
--- /dev/null
+++ b/Help/release/dev/findswig-components.rst
@@ -0,0 +1,5 @@
+findswig-components
+-------------------
+
+* The :module:`FindSWIG` module now accepts target languages as ``COMPONENTS``
+ and ``OPTIONAL_COMPONENTS`` arguments to ``find_package``.