File tree 2 files changed +3
-3
lines changed
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})
123
123
124
124
# We need the module directory in the subproject before we finish the configure stage
125
125
if (NOT EXISTS "${${_pkg} _BINARY_DIR}/include" )
126
- make_directory ( "${${_pkg} _BINARY_DIR}/include" )
126
+ file (MAKE_DIRECTORY "${${_pkg} _BINARY_DIR}/include" )
127
127
endif ()
128
128
129
129
break ()
@@ -147,7 +147,7 @@ foreach(method ${${_pkg}_FIND_METHOD})
147
147
FetchContent_GetProperties("${_lib} " SOURCE_DIR "${_pkg} _SOURCE_DIR" )
148
148
FetchContent_GetProperties("${_lib} " BINARY_DIR "${_pkg} _BINARY_DIR" )
149
149
if (NOT EXISTS "${${_pkg} _BINARY_DIR}/include" )
150
- make_directory ( "${${_pkg} _BINARY_DIR}/include" )
150
+ file (MAKE_DIRECTORY "${${_pkg} _BINARY_DIR}/include" )
151
151
endif ()
152
152
153
153
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/)
145
145
# We need the module directory before we finish the configure stage since the
146
146
# build interface might resolve before the module directory is generated by CMake
147
147
if (NOT EXISTS "${LIB_MOD_DIR} " )
148
- make_directory ( "${LIB_MOD_DIR} " )
148
+ file (MAKE_DIRECTORY "${LIB_MOD_DIR} " )
149
149
endif ()
150
150
151
151
set_target_properties (${PROJECT_NAME} PROPERTIES
You can’t perform that action at this time.
0 commit comments