mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-01 04:03:24 +03:00
FindMatlab: Windows -wait is only for -r, not -batch
This commit is contained in:
1 file changed
+2
-2
@@ -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