File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ foreach(method ${${_pkg}_FIND_METHOD})
123123
124124 # We need the module directory in the subproject before we finish the configure stage
125125 if (NOT EXISTS "${${_pkg} _BINARY_DIR}/include" )
126- make_directory ( "${${_pkg} _BINARY_DIR}/include" )
126+ file (MAKE_DIRECTORY "${${_pkg} _BINARY_DIR}/include" )
127127 endif ()
128128
129129 break ()
@@ -147,7 +147,7 @@ foreach(method ${${_pkg}_FIND_METHOD})
147147 FetchContent_GetProperties("${_lib} " SOURCE_DIR "${_pkg} _SOURCE_DIR" )
148148 FetchContent_GetProperties("${_lib} " BINARY_DIR "${_pkg} _BINARY_DIR" )
149149 if (NOT EXISTS "${${_pkg} _BINARY_DIR}/include" )
150- make_directory ( "${${_pkg} _BINARY_DIR}/include" )
150+ file (MAKE_DIRECTORY "${${_pkg} _BINARY_DIR}/include" )
151151 endif ()
152152
153153 break ()
Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ set(LIB_MOD_DIR ${CMAKE_CURRENT_BINARY_DIR}/mod_files/)
145145# We need the module directory before we finish the configure stage since the
146146# build interface might resolve before the module directory is generated by CMake
147147if (NOT EXISTS "${LIB_MOD_DIR} " )
148- make_directory ( "${LIB_MOD_DIR} " )
148+ file (MAKE_DIRECTORY "${LIB_MOD_DIR} " )
149149endif ()
150150
151151set_target_properties (${PROJECT_NAME} PROPERTIES
You can’t perform that action at this time.
0 commit comments