FindMatlab: Windows -wait is only for -r, not -batch
parent
1932ae0284
commit
103dbb2fd2
|
@ -19,8 +19,8 @@
|
|||
# -P FindMatlab_TestsRedirect.cmake
|
||||
|
||||
set(Matlab_UNIT_TESTS_CMD -nosplash -nodesktop -nodisplay ${Matlab_ADDITIONAL_STARTUP_OPTIONS})
|
||||
if(WIN32)
|
||||
set(Matlab_UNIT_TESTS_CMD ${Matlab_UNIT_TESTS_CMD} -wait)
|
||||
if(WIN32 AND maut_BATCH_OPTION STREQUAL "-r")
|
||||
list(APPEND Matlab_UNIT_TESTS_CMD -wait)
|
||||
endif()
|
||||
|
||||
if(NOT test_timeout)
|
||||
|
|
Loading…
Reference in New Issue