mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-29 02:19:18 -05: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
|
# temporary folder for all Matlab runs
|
||||||
set(_matlab_temporary_folder ${CMAKE_BINARY_DIR}/Matlab)
|
set(_matlab_temporary_folder ${CMAKE_BINARY_DIR}/Matlab)
|
||||||
|
|
||||||
if(NOT EXISTS "${_matlab_temporary_folder}")
|
file(MAKE_DIRECTORY "${_matlab_temporary_folder}")
|
||||||
file(MAKE_DIRECTORY "${_matlab_temporary_folder}")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
#[=======================================================================[.rst:
|
#[=======================================================================[.rst:
|
||||||
.. command:: matlab_get_version_from_release_name
|
.. command:: matlab_get_version_from_release_name
|
||||||
|
|||||||
Reference in New Issue
Block a user