Skip to content

Commit 513d94d

Browse files
committed
update working directory
Otherwise zip file will contain FbxExporters directory
1 parent 01670c3 commit 513d94d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ file(REMOVE "${CMAKE_SOURCE_DIR}/Assets/FbxExporters/${MAYA_INTEGRATION_ZIP_NAME
8989

9090
add_custom_command(OUTPUT ${MAYA_INTEGRATION_ZIP_NAME}
9191
COMMAND ${CMAKE_COMMAND} -E tar "cfv" ${CMAKE_SOURCE_DIR}/Assets/FbxExporters/${MAYA_INTEGRATION_ZIP_NAME} --format=zip
92-
"${CMAKE_SOURCE_DIR}/Assets/Integrations"
93-
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/Assets
92+
"${CMAKE_SOURCE_DIR}/Assets/FbxExporters/Integrations"
93+
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/Assets/FbxExporters
9494
COMMENT "Zipping Maya Integration folder"
9595
)
9696
add_custom_target(${MAYA_INTEGRATION_TARGET} DEPENDS ${MAYA_INTEGRATION_ZIP_NAME})

0 commit comments

Comments
 (0)