summaryrefslogtreecommitdiffstats
path: root/Tests/UseSWIG/LegacyPerl
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2022-10-14 14:46:42 (GMT)
committerMarc Chevrier <marc.chevrier@gmail.com>2022-10-14 14:46:42 (GMT)
commit989b469f1c7e80efbb4fb688e2bbf60eb944162d (patch)
treee48cd57d56e21680a664d0be363bce035cf197ea /Tests/UseSWIG/LegacyPerl
parentd74b7be90bae0fbca48a4a00c91ec894c51ef396 (diff)
downloadCMake-989b469f1c7e80efbb4fb688e2bbf60eb944162d.zip
CMake-989b469f1c7e80efbb4fb688e2bbf60eb944162d.tar.gz
CMake-989b469f1c7e80efbb4fb688e2bbf60eb944162d.tar.bz2
UseSWIG: Add support of perl5 language
Diffstat (limited to 'Tests/UseSWIG/LegacyPerl')
-rw-r--r--Tests/UseSWIG/LegacyPerl/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/Tests/UseSWIG/LegacyPerl/CMakeLists.txt b/Tests/UseSWIG/LegacyPerl/CMakeLists.txt
index 90d92f4..be0b465 100644
--- a/Tests/UseSWIG/LegacyPerl/CMakeLists.txt
+++ b/Tests/UseSWIG/LegacyPerl/CMakeLists.txt
@@ -4,7 +4,9 @@ project(TestLegacyPerl CXX)
include(CTest)
-set(language "perl")
+if(NOT DEFINED language)
+ set(language "perl")
+endif()
include (../LegacyConfiguration.cmake)