mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 16:32:14 -06:00
FindMatlab: no if(NOT EXIST) guard needed for file(MAKE_DIRECTORY)
This commit is contained in:
@@ -336,9 +336,7 @@ set(MATLAB_VERSIONS_MAPPING
|
||||
# temporary folder for all Matlab runs
|
||||
set(_matlab_temporary_folder ${CMAKE_BINARY_DIR}/Matlab)
|
||||
|
||||
if(NOT EXISTS "${_matlab_temporary_folder}")
|
||||
file(MAKE_DIRECTORY "${_matlab_temporary_folder}")
|
||||
endif()
|
||||
file(MAKE_DIRECTORY "${_matlab_temporary_folder}")
|
||||
|
||||
#[=======================================================================[.rst:
|
||||
.. command:: matlab_get_version_from_release_name
|
||||
|
||||
Reference in New Issue
Block a user