File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -122,9 +122,7 @@ file(REMOVE "${CMAKE_SOURCE_DIR}/Assets/FbxExporters/${MAX_INTEGRATION_ZIP_NAME}
122
122
file (GLOB_RECURSE META_FILES "${CMAKE_SOURCE_DIR} /Assets/Integrations/*.meta" )
123
123
124
124
add_custom_command (OUTPUT ${MAYA_INTEGRATION_ZIP_NAME}
125
- IF (META_FILES )
126
- COMMAND ${CMAKE_COMMAND} -E remove ${META_FILES}
127
- ENDIF
125
+ COMMAND ${CMAKE_COMMAND} -E remove ${META_FILES}
128
126
COMMAND ${CMAKE_COMMAND} -E tar "cfv" ${CMAKE_SOURCE_DIR} /Assets/FbxExporters/${MAYA_INTEGRATION_ZIP_NAME} --format=zip
129
127
"${CMAKE_SOURCE_DIR} /Assets/Integrations/Autodesk/maya"
130
128
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} /Assets
@@ -135,9 +133,7 @@ add_custom_target(${MAYA_INTEGRATION_TARGET} DEPENDS ${MAYA_INTEGRATION_ZIP_NAME
135
133
136
134
137
135
add_custom_command (OUTPUT ${MAX_INTEGRATION_ZIP_NAME}
138
- IF (META_FILES )
139
- COMMAND ${CMAKE_COMMAND} -E remove ${META_FILES}
140
- ENDIF
136
+ COMMAND ${CMAKE_COMMAND} -E remove ${META_FILES}
141
137
COMMAND ${CMAKE_COMMAND} -E tar "cfv" ${CMAKE_SOURCE_DIR} /Assets/FbxExporters/${MAX_INTEGRATION_ZIP_NAME} --format=zip
142
138
"${CMAKE_SOURCE_DIR} /Assets/Integrations/Autodesk/max"
143
139
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} /Assets
You can’t perform that action at this time.
0 commit comments