diff options
author | Seth R Johnson <johnsonsr@ornl.gov> | 2020-02-22 15:02:47 (GMT) |
---|---|---|
committer | Seth R Johnson <johnsonsr@ornl.gov> | 2020-02-24 17:15:48 (GMT) |
commit | a1909e26accc234de814deb641751bdac3db1e92 (patch) | |
tree | 51e86a61dd6dc1e6afa65f92ba3ebd9d0c29e055 /Tests/UseSWIG/BasicConfiguration.cmake | |
parent | 25ca8e5ce5019c0fb8648f7408b864add6b19d83 (diff) | |
download | CMake-a1909e26accc234de814deb641751bdac3db1e92.zip CMake-a1909e26accc234de814deb641751bdac3db1e92.tar.gz CMake-a1909e26accc234de814deb641751bdac3db1e92.tar.bz2 |
UseSWIG: Enable SWIG Fortran target language
Diffstat (limited to 'Tests/UseSWIG/BasicConfiguration.cmake')
-rw-r--r-- | Tests/UseSWIG/BasicConfiguration.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/UseSWIG/BasicConfiguration.cmake b/Tests/UseSWIG/BasicConfiguration.cmake index fd3ac40..d054953 100644 --- a/Tests/UseSWIG/BasicConfiguration.cmake +++ b/Tests/UseSWIG/BasicConfiguration.cmake @@ -18,6 +18,9 @@ unset(SWIG_LANG_LIBRARIES) if(${language} MATCHES csharp) set(SWIG_LANG_TYPE TYPE SHARED) endif() +if(${language} MATCHES fortran) + set(SWIG_LANG_TYPE TYPE SHARED) +endif() if(${language} MATCHES python) find_package(Python REQUIRED COMPONENTS Interpreter Development) set(SWIG_LANG_INCLUDE_DIRECTORIES ${Python_INCLUDE_DIRS}) |