From f6ee5ba829965229748c845b15dda164a690349b Mon Sep 17 00:00:00 2001 From: ZSaberLv0 Date: Sun, 24 Nov 2024 19:20:45 +0800 Subject: [PATCH] update --- ZFLoader/zfproj/cmake/ZFLoader/CMakeLists.txt | 4 ++-- ZFLoader/zfproj_with_src/cmake/ZFLoader/CMakeLists.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ZFLoader/zfproj/cmake/ZFLoader/CMakeLists.txt b/ZFLoader/zfproj/cmake/ZFLoader/CMakeLists.txt index 810371a..181616c 100644 --- a/ZFLoader/zfproj/cmake/ZFLoader/CMakeLists.txt +++ b/ZFLoader/zfproj/cmake/ZFLoader/CMakeLists.txt @@ -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") diff --git a/ZFLoader/zfproj_with_src/cmake/ZFLoader/CMakeLists.txt b/ZFLoader/zfproj_with_src/cmake/ZFLoader/CMakeLists.txt index 31bd753..71b764e 100644 --- a/ZFLoader/zfproj_with_src/cmake/ZFLoader/CMakeLists.txt +++ b/ZFLoader/zfproj_with_src/cmake/ZFLoader/CMakeLists.txt @@ -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()