Skip to content

Commit

Permalink
replace deprecated make_directory with file(MAKE_DIRECTORY)
Browse files Browse the repository at this point in the history
  • Loading branch information
e-kwsm committed Jun 10, 2022
1 parent 84ba953 commit 75c103e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/cmake/s-dftd3-utils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ macro(

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

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

break()
Expand Down

0 comments on commit 75c103e

Please sign in to comment.