mirror of
https://github.com/Kitware/CMake.git
synced 2025-12-30 18:29:37 -06:00
FindMatlab: Windows -wait is only for -r, not -batch
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user