summaryrefslogtreecommitdiffstats
path: root/Tests/FindMatlab/versions_checks/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/FindMatlab/versions_checks/CMakeLists.txt')
-rw-r--r--Tests/FindMatlab/versions_checks/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/FindMatlab/versions_checks/CMakeLists.txt b/Tests/FindMatlab/versions_checks/CMakeLists.txt
index f203f4b..9a9e9a3 100644
--- a/Tests/FindMatlab/versions_checks/CMakeLists.txt
+++ b/Tests/FindMatlab/versions_checks/CMakeLists.txt
@@ -40,6 +40,9 @@ if(NOT release_name STREQUAL "dummy")
message(FATAL_ERROR "version 14.9 does not give release dummy : '${release_name}' != dummy")
endif()
+# matlab_get_release_name_from_version does not describe what it does with release_name
+# if the version requested does not exists, so make sure that release_name it is empty
+set(release_name "")
matlab_get_release_name_from_version("14.10" release_name)
if(NOT release_name STREQUAL "")
message(FATAL_ERROR "version 14.10 does not give empty release: '${release_name}' != ''")