mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-14 19:15:05 -05:00
use file(MAKE_DIRECTORY) instead of make_directory
This commit is contained in:
parent
55f3e67033
commit
c2ea744d67
2 changed files with 6 additions and 6 deletions
|
@ -208,14 +208,14 @@ add_dependencies(${PROJECT_NAME} CodegenRun)
|
|||
|
||||
# Hacky way to supress the not generated error
|
||||
if (NOT EXISTS ${GEODE_CODEGEN_PATH}/Geode/GeneratedSource.cpp)
|
||||
make_directory(${GEODE_CODEGEN_PATH})
|
||||
make_directory(${GEODE_CODEGEN_PATH}/Geode)
|
||||
file(MAKE_DIRECTORY ${GEODE_CODEGEN_PATH})
|
||||
file(MAKE_DIRECTORY ${GEODE_CODEGEN_PATH}/Geode)
|
||||
file(TOUCH ${GEODE_CODEGEN_PATH}/Geode/GeneratedSource.cpp)
|
||||
endif()
|
||||
|
||||
if (NOT EXISTS ${GEODE_CODEGEN_PATH}/Geode/GeneratedAddress.cpp)
|
||||
make_directory(${GEODE_CODEGEN_PATH})
|
||||
make_directory(${GEODE_CODEGEN_PATH}/Geode)
|
||||
file(MAKE_DIRECTORY ${GEODE_CODEGEN_PATH})
|
||||
file(MAKE_DIRECTORY ${GEODE_CODEGEN_PATH}/Geode)
|
||||
file(TOUCH ${GEODE_CODEGEN_PATH}/Geode/GeneratedAddress.cpp)
|
||||
endif()
|
||||
|
||||
|
@ -259,7 +259,7 @@ target_link_libraries(${PROJECT_NAME} INTERFACE ghc_filesystem fmt TulipHookIncl
|
|||
|
||||
|
||||
if (NOT EXISTS ${GEODE_BIN_PATH})
|
||||
make_directory(${GEODE_BIN_PATH})
|
||||
file(MAKE_DIRECTORY ${GEODE_BIN_PATH})
|
||||
endif()
|
||||
|
||||
if (NOT EXISTS ${GEODE_BIN_PATH}/${PROJECT_VERSION} AND EXISTS ${GEODE_BIN_PATH}/nightly/)
|
||||
|
|
|
@ -185,7 +185,7 @@ add_library(${PROJECT_NAME} SHARED ${SOURCES})
|
|||
|
||||
target_compile_features(${PROJECT_NAME} PUBLIC cxx_std_20)
|
||||
|
||||
make_directory("${GEODE_BIN_PATH}/nightly")
|
||||
file(MAKE_DIRECTORY "${GEODE_BIN_PATH}/nightly")
|
||||
|
||||
# Prevent SDK from activating a loader build
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES
|
||||
|
|
Loading…
Reference in a new issue