summaryrefslogtreecommitdiff
path: root/Modules/MatlabTestsRedirect.cmake
diff options
context:
space:
mode:
authorMatthew Woehlke <matthew.woehlke@kitware.com>2016-10-28 13:40:58 -0400
committerBrad King <brad.king@kitware.com>2016-10-28 15:19:24 -0400
commitf2de70799c91924a5185a9a85ed4f5dabc47ca51 (patch)
tree2ef54d9f171a7c4763018d2c37f2aba9bf9a9f6d /Modules/MatlabTestsRedirect.cmake
parent876da11858ab6649bb088c4bb7758fc84910ba20 (diff)
downloadcmake-f2de70799c91924a5185a9a85ed4f5dabc47ca51.tar.gz
FindMatlab: Fix typo in matlab_add_unit_test implementation
Fix typo in variable used to communicate between matlab_add_unit_test and its helper script MatlabTestsRedirect.cmake that was introduced in commit v3.7.0-rc1~116^2 (FindMatlab: Extend matlab_add_unit_test to run arbitrary test code, 2016-08-30).
Diffstat (limited to 'Modules/MatlabTestsRedirect.cmake')
-rw-r--r--Modules/MatlabTestsRedirect.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/MatlabTestsRedirect.cmake b/Modules/MatlabTestsRedirect.cmake
index a0c6621565..64d580db6a 100644
--- a/Modules/MatlabTestsRedirect.cmake
+++ b/Modules/MatlabTestsRedirect.cmake
@@ -10,14 +10,14 @@
# -Dadditional_paths=""
# -Dno_unittest_framework=""
# -DMatlab_PROGRAM=matlab_exe_location
-# -DMatlab_ADDITIONNAL_STARTUP_OPTIONS=""
+# -DMatlab_ADDITIONAL_STARTUP_OPTIONS=""
# -Dtest_name=name_of_the_test
# -Dcustom_Matlab_test_command=""
# -Dcmd_to_run_before_test=""
# -Dunittest_file_to_run
# -P FindMatlab_TestsRedirect.cmake
-set(Matlab_UNIT_TESTS_CMD -nosplash -nodesktop -nodisplay ${Matlab_ADDITIONNAL_STARTUP_OPTIONS})
+set(Matlab_UNIT_TESTS_CMD -nosplash -nodesktop -nodisplay ${Matlab_ADDITIONAL_STARTUP_OPTIONS})
if(WIN32)
set(Matlab_UNIT_TESTS_CMD ${Matlab_UNIT_TESTS_CMD} -wait)
endif()