summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-06-05 13:25:44 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-06-05 13:25:56 (GMT)
commit0a219e405810e0e8ebf77917b53c8a9ab86369dc (patch)
treecee3e7255893eb690ad305424eb21d687c8728f1
parent9aea0c6c750791dcb9cc8d81a554237bc3abe3ca (diff)
parentbda14d99f521ba497d291e448317dd4b7de1f307 (diff)
downloadCMake-0a219e405810e0e8ebf77917b53c8a9ab86369dc.zip
CMake-0a219e405810e0e8ebf77917b53c8a9ab86369dc.tar.gz
CMake-0a219e405810e0e8ebf77917b53c8a9ab86369dc.tar.bz2
Merge topic 'FindMatlab-test-versions_checks'
bda14d99f5 Tests: Fix FindMatlab.versions_checks Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9583
-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}' != ''")