Skip to content

Commit 70c7c05

Browse files
committed
replace deprecated make_directory with file(MAKE_DIRECTORY)
https://cmake.org/cmake/help/v3.14/command/make_directory.html
1 parent d76ce40 commit 70c7c05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config/cmake/s-dftd3-utils.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ macro(
7676

7777
# We need the module directory in the subproject before we finish the configure stage
7878
if(NOT EXISTS "${${_pkg_uc}_BINARY_DIR}/include")
79-
make_directory("${${_pkg_uc}_BINARY_DIR}/include")
79+
file(MAKE_DIRECTORY "${${_pkg_uc}_BINARY_DIR}/include")
8080
endif()
8181

8282
break()
@@ -99,7 +99,7 @@ macro(
9999
# We need the module directory in the subproject before we finish the configure stage
100100
FetchContent_GetProperties("${_pkg_lc}" BINARY_DIR "${_pkg_uc}_BINARY_DIR")
101101
if(NOT EXISTS "${${_pkg_uc}_BINARY_DIR}/include")
102-
make_directory("${${_pkg_uc}_BINARY_DIR}/include")
102+
file(MAKE_DIRECTORY "${${_pkg_uc}_BINARY_DIR}/include")
103103
endif()
104104

105105
break()

0 commit comments

Comments
 (0)