diff options
author | Matthew Woehlke <matthew.woehlke@kitware.com> | 2016-10-28 17:40:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-10-28 19:19:24 (GMT) |
commit | f2de70799c91924a5185a9a85ed4f5dabc47ca51 (patch) | |
tree | 2ef54d9f171a7c4763018d2c37f2aba9bf9a9f6d /Modules/FindMatlab.cmake | |
parent | 876da11858ab6649bb088c4bb7758fc84910ba20 (diff) | |
download | CMake-f2de70799c91924a5185a9a85ed4f5dabc47ca51.zip CMake-f2de70799c91924a5185a9a85ed4f5dabc47ca51.tar.gz CMake-f2de70799c91924a5185a9a85ed4f5dabc47ca51.tar.bz2 |
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/FindMatlab.cmake')
-rw-r--r-- | Modules/FindMatlab.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindMatlab.cmake b/Modules/FindMatlab.cmake index b7f2db5..670bfb3 100644 --- a/Modules/FindMatlab.cmake +++ b/Modules/FindMatlab.cmake @@ -793,7 +793,7 @@ function(matlab_add_unit_test) "-Dworking_directory=${${prefix}_WORKING_DIRECTORY}" "-DMatlab_PROGRAM=${Matlab_MAIN_PROGRAM}" "-Dno_unittest_framework=${${prefix}_NO_UNITTEST_FRAMEWORK}" - "-DMatlab_ADDITIONNAL_STARTUP_OPTIONS=${${prefix}_MATLAB_ADDITIONAL_STARTUP_OPTIONS}" + "-DMatlab_ADDITIONAL_STARTUP_OPTIONS=${${prefix}_MATLAB_ADDITIONAL_STARTUP_OPTIONS}" "-Dunittest_file_to_run=${${prefix}_UNITTEST_FILE}" "-Dcustom_Matlab_test_command=${${prefix}_CUSTOM_TEST_COMMAND}" "-Dcmd_to_run_before_test=${${prefix}_UNITTEST_PRECOMMAND}" |