Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ZSaberLv0 committed Nov 24, 2024
1 parent a99e20b commit f6ee5ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions ZFLoader/zfproj/cmake/ZFLoader/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ function(ZFAddLib ZF_LIB_TARGETS_ ZF_LIB_NAME_)
set(${ZF_LIB_TARGETS_} ${${ZF_LIB_TARGETS_}} ${ZF_LIB_NAME_} PARENT_SCOPE)

if(WIN32)
execute_process(COMMAND "${ZF_ROOT_PATH}/tools/common/copy_check.bat" "${libPath}" "${CMAKE_INSTALL_PREFIX}/.")
execute_process(COMMAND "${ZF_ROOT_PATH}/tools/util/copy_res.bat" "${ZF_ROOT_PATH}/_release/cmake/module/${ZF_LIB_NAME_}/zfres/" "${PROJECT_BINARY_DIR}/zfres")
execute_process(COMMAND "${ZF_ROOT_PATH}\\tools\\common\\copy_check.bat" "${libPath}" "${CMAKE_INSTALL_PREFIX}\\.")
execute_process(COMMAND "${ZF_ROOT_PATH}\\tools\\util\\copy_res.bat" "${ZF_ROOT_PATH}\\_release\\cmake\\module\\${ZF_LIB_NAME_}\\zfres\\" "${PROJECT_BINARY_DIR}\\zfres")
else()
execute_process(COMMAND sh "${ZF_ROOT_PATH}/tools/common/copy_check.sh" "${libPath}" "${CMAKE_INSTALL_PREFIX}/.")
execute_process(COMMAND sh "${ZF_ROOT_PATH}/tools/util/copy_res.sh" "${ZF_ROOT_PATH}/_release/cmake/module/${ZF_LIB_NAME_}/zfres/" "${PROJECT_BINARY_DIR}/zfres")
Expand Down
2 changes: 1 addition & 1 deletion ZFLoader/zfproj_with_src/cmake/ZFLoader/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function(ZFAddSrc ZF_LIB_NAMES_ LIB_NAME_ ZF_SRC_FILES_ PROJ_PATH_)
set(${ZF_SRC_FILES_} ${${ZF_SRC_FILES_}} ${ZF_SRC_FILES_TMP} PARENT_SCOPE)
include_directories(${PROJ_PATH_}/zfsrc)
if(WIN32)
execute_process(COMMAND "${ZF_ROOT_PATH}/tools/util/copy_res.bat" "${PROJ_PATH_}/zfres/" "${PROJECT_BINARY_DIR}/zfres")
execute_process(COMMAND "${ZF_ROOT_PATH}\\tools\\util\\copy_res.bat" "${PROJ_PATH_}\\zfres\\" "${PROJECT_BINARY_DIR}\\zfres")
else()
execute_process(COMMAND sh "${ZF_ROOT_PATH}/tools/util/copy_res.sh" "${PROJ_PATH_}/zfres/" "${PROJECT_BINARY_DIR}/zfres")
endif()
Expand Down

0 comments on commit f6ee5ba

Please sign in to comment.